1
0
forked from ports/contrib
contrib/midori/Pkgfile

30 lines
702 B
Plaintext
Raw Normal View History

2009-11-23 03:53:10 +11:00
# Description: Midori is a lightweight web browser.
2013-09-30 20:27:19 +10:00
# URL: http://www.midori-browser.org/
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2009-11-23 03:53:10 +11:00
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
2015-11-25 23:05:11 +11:00
# Depends on: aria2 cmake desktop-file-utils gcr libnotify librsvg ninja webkit-gtk2 xorg-libxscrnsaver
2009-11-23 03:53:10 +11:00
name=midori
2015-11-25 23:05:11 +11:00
version=0.5.11
2014-12-17 00:11:31 +11:00
release=1
source=(http://midori-browser.org/downloads/${name}_${version}_all_.tar.bz2)
2009-11-23 03:53:10 +11:00
build() {
2015-11-25 23:05:11 +11:00
cd $name-$version
2014-12-17 00:11:31 +11:00
install -d build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
2014-12-17 00:11:31 +11:00
-DCMAKE_INSTALL_LIBDIR=lib \
2015-11-25 23:05:11 +11:00
-DCMAKE_BUILD_TYPE=Release \
-DUSE_ZEITGEIST=OFF \
2014-12-17 00:11:31 +11:00
-G Ninja
2014-12-17 00:11:31 +11:00
ninja
DESTDIR=$PKG ninja install
rm -r $PKG/usr/share/{doc,locale}
2009-11-23 03:53:10 +11:00
}