diff options
Diffstat (limited to 'community/qupzilla')
-rw-r--r-- | community/qupzilla/PKGBUILD | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/community/qupzilla/PKGBUILD b/community/qupzilla/PKGBUILD index 46cb818ef..645e744fc 100644 --- a/community/qupzilla/PKGBUILD +++ b/community/qupzilla/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 83299 2013-01-29 01:36:39Z speps $ +# $Id: PKGBUILD 86204 2013-03-13 01:33:35Z speps $ # Maintainer: speps <speps at aur dot archlinux dot org> _name=QupZilla -_commit=fbfcc70 +_commit=93d22ec # fixes https://github.com/QupZilla/qupzilla/issues/793 pkgname=qupzilla -pkgver=1.3.5_git20130128 +pkgver=1.4.0_git20130312 pkgrel=1 pkgdesc="Cross-platform QtWebKit browser" arch=(i686 x86_64) url="http://www.qupzilla.com/" license=('GPL3') -depends=('qtwebkit') +depends=('qtwebkit' 'hunspell') +optdepends=('bash-completion: bash completion support') install="$pkgname.install" source=("$pkgname-$pkgver.tar.gz::https://github.com/$_name/$pkgname/tarball/$_commit") -md5sums=('ff8bd77f785335a8157aceb3cd54507a') +md5sums=('8fa69f60a26b55d68bfac2d7ec812bf8') build() { cd "$srcdir/$_name-$pkgname-"* @@ -21,13 +22,24 @@ build() { # enable webgl support export USE_WEBGL=true - qmake QUPZILLA_PREFIX=/usr/ + # manually install bash completion + sed -i '/bashcompletion/d' src/install.pri + + qmake-qt4 QUPZILLA_PREFIX=/usr/ make } package() { cd "$srcdir/$_name-$pkgname-"* make INSTALL_ROOT="$pkgdir/" install + + # bash completion + install -Dm644 linux/completion/bash_completion.sh \ + "$pkgdir/usr/share/bash-completion/completions/$pkgname" + + # zsh completion + install -Dm644 linux/completion/zsh_completion.sh \ + "$pkgdir/usr/share/zsh/site-functions/_$pkgname" } # vim:set ts=2 sw=2 et: |