[arch-commits] Commit in qupzilla/repos (6 files)
Felix Yan
fyan at archlinux.org
Tue Dec 8 07:49:36 UTC 2015
Date: Tuesday, December 8, 2015 @ 08:49:36
Author: fyan
Revision: 150189
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 150188, qupzilla/trunk/PKGBUILD)
qupzilla/repos/community-staging-i686/qupzilla.install
(from rev 150188, qupzilla/trunk/qupzilla.install)
qupzilla/repos/community-staging-x86_64/
qupzilla/repos/community-staging-x86_64/PKGBUILD
(from rev 150188, qupzilla/trunk/PKGBUILD)
qupzilla/repos/community-staging-x86_64/qupzilla.install
(from rev 150188, qupzilla/trunk/qupzilla.install)
-------------------------------------------+
community-staging-i686/PKGBUILD | 75 ++++++++++++++++++++++++++++
community-staging-i686/qupzilla.install | 12 ++++
community-staging-x86_64/PKGBUILD | 75 ++++++++++++++++++++++++++++
community-staging-x86_64/qupzilla.install | 12 ++++
4 files changed, 174 insertions(+)
Copied: qupzilla/repos/community-staging-i686/PKGBUILD (from rev 150188, qupzilla/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-08 07:49:36 UTC (rev 150189)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgbase=qupzilla
+pkgname=(qupzilla qupzilla-qt4)
+pkgver=1.8.9
+pkgrel=2
+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')
+install="$pkgbase.install"
+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-i686/qupzilla.install (from rev 150188, qupzilla/trunk/qupzilla.install)
===================================================================
--- community-staging-i686/qupzilla.install (rev 0)
+++ community-staging-i686/qupzilla.install 2015-12-08 07:49:36 UTC (rev 150189)
@@ -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
+}
Copied: qupzilla/repos/community-staging-x86_64/PKGBUILD (from rev 150188, qupzilla/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-08 07:49:36 UTC (rev 150189)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgbase=qupzilla
+pkgname=(qupzilla qupzilla-qt4)
+pkgver=1.8.9
+pkgrel=2
+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')
+install="$pkgbase.install"
+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/qupzilla.install (from rev 150188, qupzilla/trunk/qupzilla.install)
===================================================================
--- community-staging-x86_64/qupzilla.install (rev 0)
+++ community-staging-x86_64/qupzilla.install 2015-12-08 07:49:36 UTC (rev 150189)
@@ -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
+}
More information about the arch-commits
mailing list