[arch-commits] Commit in qupzilla/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Jun 14 20:01:19 UTC 2016
Date: Tuesday, June 14, 2016 @ 20:01:19
Author: arojas
Revision: 180109
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
qupzilla/repos/community-staging-i686/
qupzilla/repos/community-staging-i686/PKGBUILD
(from rev 180108, qupzilla/trunk/PKGBUILD)
qupzilla/repos/community-staging-x86_64/
qupzilla/repos/community-staging-x86_64/PKGBUILD
(from rev 180108, qupzilla/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 74 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 74 ++++++++++++++++++++++++++++++++++++
2 files changed, 148 insertions(+)
Copied: qupzilla/repos/community-staging-i686/PKGBUILD (from rev 180108, qupzilla/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-14 20:01:19 UTC (rev 180109)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgbase=qupzilla
+pkgname=(qupzilla qupzilla-qt4)
+pkgver=1.8.9
+pkgrel=4
+pkgdesc="Cross-platform QtWebKit browser"
+arch=(i686 x86_64)
+url="http://www.qupzilla.com/"
+license=('GPL3')
+makedepends=('qtwebkit' 'qt5-webkit' 'qt5-script' 'qt5-tools' 'hunspell' 'kdelibs' 'kwallet' 'libgnome-keyring')
+optdepends=('bash-completion: bash completion support')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz")
+noextract=("$pkgbase-$pkgver.tar.gz")
+md5sums=('a39767aa92b482863ea4851935e26dd2')
+
+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
+
+ # configure
+ export USE_WEBGL=true \
+ QUPZILLA_PREFIX=/usr/ \
+ KDE_INTEGRATION=true \
+ GNOME_INTEGRATION=true
+}
+
+build() {
+ cd qt4
+ qmake-qt4
+ make
+
+ cd ../qt5
+ qmake
+ make
+}
+
+package_qupzilla() {
+ pkgdesc+=" (Qt5)"
+ depends=('qt5-webkit' 'qt5-script' 'qt5-x11extras' 'hunspell' 'desktop-file-utils' 'hicolor-icon-theme')
+ optdepends=('kwallet: kf5 kwallet integration'
+ 'libgnome-keyring: gnome keyring integration')
+ provides=('qupzilla-qt5')
+ conflicts=('qupzilla-qt5')
+ replaces=('qupzilla-qt5')
+
+ cd qt5
+ make INSTALL_ROOT="$pkgdir/" install
+
+ # zsh completion
+ install -Dm644 linux/completion/_$pkgbase \
+ "$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
+}
+
+package_qupzilla-qt4() {
+ pkgdesc+=" (Qt4)"
+ depends=('qtwebkit' 'hunspell')
+ optdepends=('kdelibs: kwallet integration'
+ 'libgnome-keyring: gnome keyring integration')
+ provides=('qupzilla')
+ conflicts=('qupzilla')
+
+ cd qt4
+ make INSTALL_ROOT="$pkgdir/" install
+
+ # zsh completion
+ install -Dm644 linux/completion/_$pkgbase \
+ "$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: qupzilla/repos/community-staging-x86_64/PKGBUILD (from rev 180108, qupzilla/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-06-14 20:01:19 UTC (rev 180109)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgbase=qupzilla
+pkgname=(qupzilla qupzilla-qt4)
+pkgver=1.8.9
+pkgrel=4
+pkgdesc="Cross-platform QtWebKit browser"
+arch=(i686 x86_64)
+url="http://www.qupzilla.com/"
+license=('GPL3')
+makedepends=('qtwebkit' 'qt5-webkit' 'qt5-script' 'qt5-tools' 'hunspell' 'kdelibs' 'kwallet' 'libgnome-keyring')
+optdepends=('bash-completion: bash completion support')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz")
+noextract=("$pkgbase-$pkgver.tar.gz")
+md5sums=('a39767aa92b482863ea4851935e26dd2')
+
+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
+
+ # configure
+ export USE_WEBGL=true \
+ QUPZILLA_PREFIX=/usr/ \
+ KDE_INTEGRATION=true \
+ GNOME_INTEGRATION=true
+}
+
+build() {
+ cd qt4
+ qmake-qt4
+ make
+
+ cd ../qt5
+ qmake
+ make
+}
+
+package_qupzilla() {
+ pkgdesc+=" (Qt5)"
+ depends=('qt5-webkit' 'qt5-script' 'qt5-x11extras' 'hunspell' 'desktop-file-utils' 'hicolor-icon-theme')
+ optdepends=('kwallet: kf5 kwallet integration'
+ 'libgnome-keyring: gnome keyring integration')
+ provides=('qupzilla-qt5')
+ conflicts=('qupzilla-qt5')
+ replaces=('qupzilla-qt5')
+
+ cd qt5
+ make INSTALL_ROOT="$pkgdir/" install
+
+ # zsh completion
+ install -Dm644 linux/completion/_$pkgbase \
+ "$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
+}
+
+package_qupzilla-qt4() {
+ pkgdesc+=" (Qt4)"
+ depends=('qtwebkit' 'hunspell')
+ optdepends=('kdelibs: kwallet integration'
+ 'libgnome-keyring: gnome keyring integration')
+ provides=('qupzilla')
+ conflicts=('qupzilla')
+
+ cd qt4
+ make INSTALL_ROOT="$pkgdir/" install
+
+ # zsh completion
+ install -Dm644 linux/completion/_$pkgbase \
+ "$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list