summaryrefslogtreecommitdiffstats
path: root/main/midori
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
commit9526ee659401dee7160f35cb62ded2779bcbbc99 (patch)
tree812ad73bde9c84dcc02a3acbc5db576369ca314a /main/midori
parent05e09c1126a898b6d0af491fef0401bf53e297f8 (diff)
downloadaports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2
aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz
merged x11 repository into main
ref #255
Diffstat (limited to 'main/midori')
-rw-r--r--main/midori/APKBUILD48
-rw-r--r--main/midori/midori.post-deinstall5
-rw-r--r--main/midori/midori.post-install4
l---------main/midori/midori.post-upgrade1
4 files changed, 58 insertions, 0 deletions
diff --git a/main/midori/APKBUILD b/main/midori/APKBUILD
new file mode 100644
index 000000000..e73bfe7f0
--- /dev/null
+++ b/main/midori/APKBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=midori
+pkgver=0.2.2
+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
+ hicolor-icon-theme
+ "
+makedepends="
+ git
+ intltool
+ pkgconfig
+ python
+ gettext-dev
+ libidn-dev
+ libnotify-dev
+ libxml2-dev
+ webkit-dev
+ sqlite-dev
+ paxctl
+ "
+install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
+source="http://archive.xfce.org/src/apps/midori/${pkgver%.*}/midori-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --jobs=${MAKEFLAGS/-j/} \
+ --enable-libidn \
+ --enable-sqlite \
+ --enable-addons \
+ --disable-hildon \
+ --disable-unique \
+ --enable-nls \
+ || return 1
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+ # PAX does not like the JIT
+ paxctl -c -m -p "$pkgdir"/usr/bin/midori
+}
+md5sums="14f81a7a10f80a173da1b5e88713400b midori-0.2.2.tar.bz2"
diff --git a/main/midori/midori.post-deinstall b/main/midori/midori.post-deinstall
new file mode 100644
index 000000000..00ebf0b31
--- /dev/null
+++ b/main/midori/midori.post-deinstall
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-desktop-database -q
+gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+
diff --git a/main/midori/midori.post-install b/main/midori/midori.post-install
new file mode 100644
index 000000000..9f24aeca9
--- /dev/null
+++ b/main/midori/midori.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+update-desktop-database -q
diff --git a/main/midori/midori.post-upgrade b/main/midori/midori.post-upgrade
new file mode 120000
index 000000000..41bc70a93
--- /dev/null
+++ b/main/midori/midori.post-upgrade
@@ -0,0 +1 @@
+midori.post-install \ No newline at end of file