diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-13 16:55:12 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-13 16:55:12 -0300 |
commit | e00d4a4a5d55ece5fa8762c0d613bfc9d5209306 (patch) | |
tree | 4bf570a7ca4579a841605761bbb55f6c9a3579cf /libre/qupzilla-libre/PKGBUILD | |
parent | 7edd43593eb38a73bdca7d8adf8be84061c4f962 (diff) | |
download | abslibre-e00d4a4a5d55ece5fa8762c0d613bfc9d5209306.tar.gz abslibre-e00d4a4a5d55ece5fa8762c0d613bfc9d5209306.tar.bz2 abslibre-e00d4a4a5d55ece5fa8762c0d613bfc9d5209306.zip |
qupzilla-libre: new package for libre repo
Diffstat (limited to 'libre/qupzilla-libre/PKGBUILD')
-rw-r--r-- | libre/qupzilla-libre/PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/libre/qupzilla-libre/PKGBUILD b/libre/qupzilla-libre/PKGBUILD new file mode 100644 index 000000000..e46a7d347 --- /dev/null +++ b/libre/qupzilla-libre/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 90358 2013-05-11 23:22:13Z speps $ +# Maintainer: speps <speps at aur dot archlinux dot org> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +_name=QupZilla +_pkgname=qupzilla +pkgname=qupzilla-libre +pkgver=1.4.3 +pkgrel=1 +pkgdesc="Cross-platform QtWebKit browser, without Google, Youtube and Facebook recommendation" +arch=(i686 x86_64 mips64el) +url="http://www.qupzilla.com/" +license=('GPL3') +depends=('qtwebkit' 'hunspell') +optdepends=('bash-completion: bash completion support') +install="$_pkgname.install" +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=("$_pkgname-$pkgver.tar.gz::https://github.com/$_name/$_pkgname/tarball/v$pkgver" + 'libre.patch') +md5sums=('20187fcce11dbba876e1ee7dc5e32583' + 'baca20fcc0b45c118d7afc38bfc32a55') + +prepare() { + cd "$srcdir/$_name-$_pkgname-"* + + # remove Google, Youtube and Facebook recommendation + patch -Np1 -i $srcdir/libre.patch +} + +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: |