forked from ports/contrib
25 lines
848 B
Plaintext
25 lines
848 B
Plaintext
# Description: Midori is a lightweight web browser.
|
|
# URL: http://www.twotoasts.de/index.php?/categories/2-Midori
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
|
|
# Depends on: libnotify librsvg vala webkit xorg-libxscrnsaver libunique
|
|
|
|
name=midori
|
|
version=0.4.0
|
|
release=2
|
|
source=(http://archive.xfce.org/src/apps/$name/${version%.*}/$name-$version.tar.bz2
|
|
midori-0.4.0-webkit-1.6.1-build.patch
|
|
midori-0.4.0-libjavascriptcoregtk.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) \{0,1\}.*/\1/' <<< $MAKEFLAGS)"
|
|
patch -p 1 -i $SRC/midori-0.4.0-webkit-1.6.1-build.patch
|
|
patch -p 1 -i $SRC/midori-0.4.0-libjavascriptcoregtk.patch
|
|
|
|
./configure --prefix=/usr $JOBS
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/share/{doc,locale}
|
|
}
|