aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/midori/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11/midori/APKBUILD b/x11/midori/APKBUILD
index ffc50da66e..db8eea7a99 100644
--- a/x11/midori/APKBUILD
+++ b/x11/midori/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
-pkgver=0.1.10
+pkgver=0.2.0
pkgrel=0
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
@@ -22,10 +22,9 @@ makedepends="
paxctl
"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
-source="http://archive.xfce.org/src/apps/midori/0.1/$pkgname-$pkgver.tar.bz2"
+source="http://archive.xfce.org/src/apps/midori/${pkgver%.*}/midori-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--jobs=${MAKEFLAGS/-j/} \
@@ -36,9 +35,13 @@ build ()
--disable-unique \
--enable-nls \
|| return 1
- make || return 1
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
# PAX does not like the JIT
paxctl -c -m "$pkgdir"/usr/bin/midori
}
-md5sums="97b6a3a3ccb8458c68c335b2ee8e9197 midori-0.1.10.tar.bz2"
+md5sums="805e2e59a93a0a4b7652d6547b2bd923 midori-0.2.0.tar.bz2"