[arch-commits] Commit in polkit-qt/kde-unstable (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Wed Jan 13 17:01:41 EST 2010


    Date: Wednesday, January 13, 2010 @ 17:01:41
  Author: pierre
Revision: 62992

use polkit-1

Modified:
  polkit-qt/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-13 22:00:24 UTC (rev 62991)
+++ PKGBUILD	2010-01-13 22:01:41 UTC (rev 62992)
@@ -2,31 +2,30 @@
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=polkit-qt
-pkgver=0.9.3
+pkgver=0.95.1
 pkgrel=1
 pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('LGPL')
-depends=('policykit' 'qt')
+depends=('polkit' 'qt')
 makedepends=('cmake' 'automoc4')
-source=("http://download.kde.org/stable/apps/KDE4.x/admin/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('8be0205f8cb91161fdaf527f7cb6852d')
+source=("ftp://ftp.kde.org/pub/kde/stable/${pkgname}-1/${pkgname}-1-${pkgver}.tar.bz2")
+md5sums=('b5c5017058ab0f3bc7eb337a7c66e0bc')
 
 build() {
 	cd ${srcdir}
 	mkdir build
 	cd build
-	cmake ../${pkgname}-${pkgver} \
+	cmake ../${pkgname}-1-${pkgver} \
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_SKIP_RPATH=ON \
 		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
 	make || return 1
-	make DESTDIR=$pkgdir install
+}
 
-	# install cmake files, needed by KDE 4.4
-	install -d ${pkgdir}/usr/share/cmake-2.8/Modules
-	install -Dm644 ${srcdir}/${pkgname}-${pkgver}/cmake/modules/{FindPolkitQt,InstallSettings}.cmake \
-	  ${pkgdir}/usr/share/cmake-2.8/Modules/ || return 1
+package() {
+	cd ${srcdir}/build
+	make DESTDIR=$pkgdir install
 }



More information about the arch-commits mailing list