Date: Friday, February 9, 2018 @ 11:25:07
  Author: arojas
Revision: 316512

Rebuild, fix source, remove unused makedep

Modified:
  polkit-qt/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-09 11:20:05 UTC (rev 316511)
+++ PKGBUILD    2018-02-09 11:25:07 UTC (rev 316512)
@@ -3,17 +3,17 @@
 # Contributor: Pierre Schmitz <pie...@archlinux.de>
 
 pkgbase=polkit-qt
-pkgname=('polkit-qt4' 'polkit-qt5')
+pkgname=(polkit-qt4 polkit-qt5)
 pkgver=0.112.0+git20160226
-pkgrel=1
+pkgrel=2
 pkgdesc='A library that allows developers to access PolicyKit API with a nice 
Qt-style API'
-arch=('x86_64')
+arch=(x86_64)
 url='https://www.kde.org/'
-license=('LGPL')
-makedepends=('cmake' 'automoc4' 'polkit' 'qt4' 'qt5-base')
+license=(LGPL)
+makedepends=(cmake automoc4 polkit qt4 qt5-base git)
 
#source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgbase}-1-${pkgver}.tar.bz2";)
-source=("http://quickgit.kde.org/?p=polkit-qt-1.git&a=snapshot&h=15c7867e88c5278f61896b5531ac2b544add8220&fmt=tgz";)
-md5sums=('e74c39223328edf89cdce4e037ef3c38')
+source=("git+https://anongit.kde.org/polkit-qt-1.git#commit=15c7867e88c5278f61896b5531ac2b544add8220";)
+sha256sums=('SKIP')
 
 prepare() {
   mkdir build{,-qt5}
@@ -37,18 +37,15 @@
 }
 
 package_polkit-qt4() {
-  depends=('polkit' 'qt4')
-  replaces=('polkit-qt')
-  provides=('polkit-qt')
-  conflicts=('polkit-qt')
+  depends=(polkit qt4)
 
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }
 
 package_polkit-qt5() {
-  depends=('polkit' 'qt5-base')
+  depends=(polkit qt5-base)
 
   cd build-qt5
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }

Reply via email to