summaryrefslogtreecommitdiff
path: root/libre/qupzilla-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/qupzilla-libre/PKGBUILD')
-rw-r--r--libre/qupzilla-libre/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/libre/qupzilla-libre/PKGBUILD b/libre/qupzilla-libre/PKGBUILD
index fbd577a90..bf945b53f 100644
--- a/libre/qupzilla-libre/PKGBUILD
+++ b/libre/qupzilla-libre/PKGBUILD
@@ -16,6 +16,7 @@ source=("$_pkgbase-$pkgver.tar.gz::https://github.com/QupZilla/$_pkgbase/tarball
'searchenginesmanager.cpp.sed'
'speeddial.cpp.sed'
'start.html.sed')
+noextract=("$_pkgbase-$pkgver.tar.gz")
install="$_pkgbase.install"
md5sums=('cfbf5cd23d184275c389c79a39a28631'
'1d926e97a5b287d40fb695f6516f2a06'
@@ -25,8 +26,8 @@ md5sums=('cfbf5cd23d184275c389c79a39a28631'
prepare() {
# extract
mkdir -p qt{4,5}
- bsdtar --strip-components 1 -zxf $pkgbase-$pkgver.tar.gz -C qt4
- bsdtar --strip-components 1 -zxf $pkgbase-$pkgver.tar.gz -C qt5
+ bsdtar --strip-components 1 -zxf $_pkgbase-$pkgver.tar.gz -C qt4
+ bsdtar --strip-components 1 -zxf $_pkgbase-$pkgver.tar.gz -C qt5
# configure
export USE_WEBGL=true \
@@ -57,9 +58,9 @@ build() {
package_qupzilla-libre() {
pkgdesc="Cross-platform QtWebKit browser, without non-privacy search providers"
depends=('qtwebkit' 'hunspell')
- replaces=qupzilla
- conflicts=qupzilla
provides=qupzilla=$pkgver
+ conflicts=qupzilla
+ replaces=qupzilla
cd qt4
make INSTALL_ROOT="$pkgdir/" install
@@ -72,9 +73,9 @@ package_qupzilla-libre() {
package_qupzilla-libre-qt5() {
pkgdesc="Cross-platform QtWebKit browser (Qt5), without non-privacy search providers"
depends=('qt5-webkit' 'qt5-script' 'hunspell' 'desktop-file-utils' 'hicolor-icon-theme')
- provides=('qupzilla-qt5' 'qupzilla-libre')
+ provides=("qupzilla-qt5=$pkgver" 'qupzilla-libre')
conflicts=('qupzilla-qt5' 'qupzilla-libre')
- provides=qupzilla-qt5=$pkgver
+ replaces=qupzilla-qt5
cd qt5
make INSTALL_ROOT="$pkgdir/" install