From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/qupzilla/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ community/qupzilla/qupzilla.install | 12 ++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 community/qupzilla/PKGBUILD create mode 100644 community/qupzilla/qupzilla.install (limited to 'community/qupzilla') 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 + +_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: diff --git a/community/qupzilla/qupzilla.install b/community/qupzilla/qupzilla.install new file mode 100644 index 000000000..029294d67 --- /dev/null +++ b/community/qupzilla/qupzilla.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf