[arch-commits] Commit in qupzilla/trunk (PKGBUILD)

speps speps at nymeria.archlinux.org
Sat Apr 19 22:54:04 UTC 2014


    Date: Sunday, April 20, 2014 @ 00:54:04
  Author: speps
Revision: 109866

upgpkg: qupzilla 1.6.5-1

Modified:
  qupzilla/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-19 22:25:04 UTC (rev 109865)
+++ PKGBUILD	2014-04-19 22:54:04 UTC (rev 109866)
@@ -2,8 +2,8 @@
 # Maintainer: speps <speps at aur dot archlinux dot org>
 
 pkgbase=qupzilla
-pkgname=(qupzilla qupzilla-qt5)
-pkgver=1.6.4
+pkgname=(qupzilla qupzilla-qt4)
+pkgver=1.6.5
 pkgrel=1
 pkgdesc="Cross-platform QtWebKit browser"
 arch=(i686 x86_64)
@@ -14,7 +14,7 @@
 install="$pkgbase.install"
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz")
 noextract=("$pkgbase-$pkgver.tar.gz")
-md5sums=('373eb86d376a90bea72558acda1e2ea8')
+md5sums=('4bc129b403f8e74b819ff28e78be27e3')
 
 prepare() {
   # extract
@@ -40,11 +40,14 @@
 }
 
 package_qupzilla() {
-  depends=('qtwebkit' 'hunspell')
-  optdepends=('kdelibs: kwallet integration'
-              'libgnome-keyring: gnome keyring integration')
+  pkgdesc+=" (Qt5)"
+  depends=('qt5-webkit' 'qt5-script' 'hunspell' 'desktop-file-utils' 'hicolor-icon-theme')
+  optdepends=('libgnome-keyring: gnome keyring integration')
+  provides=('qupzilla-qt5')
+  conflicts=('qupzilla-qt5')
+  replaces=('qupzilla-qt5')
 
-  cd qt4
+  cd qt5
   make INSTALL_ROOT="$pkgdir/" install
 
   # zsh completion
@@ -52,14 +55,15 @@
     "$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
 }
 
-package_qupzilla-qt5() {
-  pkgdesc+=" (Qt5)"
-  depends=('qt5-webkit' 'qt5-script' 'hunspell' 'desktop-file-utils' 'hicolor-icon-theme')
-  optdepends=('libgnome-keyring: gnome keyring integration')
+package_qupzilla-qt4() {
+  pkgdesc+=" (Qt4)"
+  depends=('qtwebkit' 'hunspell')
+  optdepends=('kdelibs: kwallet integration'
+              'libgnome-keyring: gnome keyring integration')
   provides=('qupzilla')
   conflicts=('qupzilla')
 
-  cd qt5
+  cd qt4
   make INSTALL_ROOT="$pkgdir/" install
 
   # zsh completion




More information about the arch-commits mailing list