aboutsummaryrefslogtreecommitdiffstats
path: root/x11/midori/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-02 12:58:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-02 12:58:39 +0000
commit8034e2ee3fdd185f6c38b45e42f20bd5d8c335ac (patch)
tree28f170413a3da2b14400d19caf7be9d6ce98282b /x11/midori/APKBUILD
parent93ec24c660c895f064949f47aa7d21071bf80a7f (diff)
downloadaports-8034e2ee3fdd185f6c38b45e42f20bd5d8c335ac.tar.bz2
aports-8034e2ee3fdd185f6c38b45e42f20bd5d8c335ac.tar.xz
x11/midori: new aport
A lightweight web browser based on Gtk WebKit http://www.twotoasts.de/index.php?/pages/midori_summary.html
Diffstat (limited to 'x11/midori/APKBUILD')
-rw-r--r--x11/midori/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/x11/midori/APKBUILD b/x11/midori/APKBUILD
new file mode 100644
index 0000000000..4c1d7ea9e3
--- /dev/null
+++ b/x11/midori/APKBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=midori
+pkgver=0.1.5
+pkgrel=0
+pkgdesc="A lightweight web browser based on Gtk WebKit"
+url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
+license="GPL"
+depends="
+ desktop-file-utils
+ gettext
+ hicolor-icon-theme
+ libidn
+ uclibc
+ webkit
+ "
+makedepends="
+ g++
+ git
+ intltool
+ pkgconfig
+ python
+ gettext-dev
+ libidn-dev
+ libxml2-dev
+ webkit-dev
+ "
+install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
+source="http://goodies.xfce.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2
+ midori-0.1.5-fpic.patch
+ $install"
+
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ for i in ../*.patch; do
+ msg "Applying $i..."
+ patch -p1 < $i || return 1
+ done
+ ./configure --prefix=/usr \
+ --jobs=${MAKEFLAGS/-j/} \
+ --enable-libidn \
+ --enable-sqlite \
+ --enable-addons \
+ --disable-hildon \
+ --disable-unique \
+ --enable-nls \
+ || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="dccaddeb49d7def8a19cf497cb7eabf8 midori-0.1.5.tar.bz2
+8f36ef6716f2fc8ae9924471f3647e94 midori-0.1.5-fpic.patch
+a373e86256d1cd179791e486d2862d44 midori.post-install
+a373e86256d1cd179791e486d2862d44 midori.post-upgrade
+e962d246f1861faf94b70b37b0d3ef66 midori.post-deinstall"