summaryrefslogtreecommitdiff
path: root/community/qupzilla/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qupzilla/PKGBUILD')
-rw-r--r--community/qupzilla/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/qupzilla/PKGBUILD b/community/qupzilla/PKGBUILD
new file mode 100644
index 000000000..cf32eb72e
--- /dev/null
+++ b/community/qupzilla/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 90359 2013-05-11 23:23:44Z speps $
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+_name=QupZilla
+pkgname=qupzilla
+pkgver=1.4.3
+pkgrel=1
+pkgdesc="Cross-platform QtWebKit browser"
+arch=(i686 x86_64)
+url="http://www.qupzilla.com/"
+license=('GPL3')
+depends=('qtwebkit' 'hunspell')
+optdepends=('bash-completion: bash completion support')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$_name/$pkgname/tarball/v$pkgver")
+md5sums=('20187fcce11dbba876e1ee7dc5e32583')
+
+build() {
+ cd "$srcdir/$_name-$pkgname-"*
+
+ # enable webgl support
+ export USE_WEBGL=true
+
+ qmake-qt4 QUPZILLA_PREFIX=/usr/
+ make
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgname-"*
+ make INSTALL_ROOT="$pkgdir/" install
+
+ # zsh completion
+ install -Dm644 linux/completion/zsh_completion.sh \
+ "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
+}
+
+# vim:set ts=2 sw=2 et: