summaryrefslogtreecommitdiff
path: root/community/qupzilla
diff options
context:
space:
mode:
Diffstat (limited to 'community/qupzilla')
-rw-r--r--community/qupzilla/PKGBUILD32
-rw-r--r--community/qupzilla/qupzilla.install12
2 files changed, 44 insertions, 0 deletions
diff --git a/community/qupzilla/PKGBUILD b/community/qupzilla/PKGBUILD
new file mode 100644
index 000000000..0e19921fc
--- /dev/null
+++ b/community/qupzilla/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 71945 2012-06-03 23:57:58Z speps $
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+_name=QupZilla
+pkgname=qupzilla
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Cross-platform QtWebKit browser"
+arch=(i686 x86_64)
+url="http://www.qupzilla.com/"
+license=('GPL3')
+depends=('qtwebkit' 'gtk-update-icon-cache')
+install="$pkgname.install"
+source=("https://github.com/$_name/$pkgname/tarball/v$pkgver")
+md5sums=('fc689dcda60a45d7b1aed32ecb851c1a')
+
+build() {
+ cd "$srcdir/$_name-$pkgname-"*
+
+ # enable webgl support
+ export USE_WEBGL=true
+
+ qmake QUPZILLA_PREFIX=/usr/
+ make
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgname-"*
+ make INSTALL_ROOT="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/qupzilla/qupzilla.install b/community/qupzilla/qupzilla.install
new file mode 100644
index 000000000..bce670aff
--- /dev/null
+++ b/community/qupzilla/qupzilla.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}