[arch-commits] Commit in (5 files)

Pierre Schmitz pierre at archlinux.org
Wed Jan 13 22:24:13 UTC 2010


    Date: Wednesday, January 13, 2010 @ 17:24:13
  Author: pierre
Revision: 62993

add polkit-kde-1

Added:
  polkit-kde/
  polkit-kde/kde-unstable/
  polkit-kde/kde-unstable/PKGBUILD
  polkit-kde/repos/
  polkit-kde/trunk/

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: polkit-kde/kde-unstable/PKGBUILD
===================================================================
--- polkit-kde/kde-unstable/PKGBUILD	                        (rev 0)
+++ polkit-kde/kde-unstable/PKGBUILD	2010-01-13 22:24:13 UTC (rev 62993)
@@ -0,0 +1,31 @@
+# $Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=polkit-kde
+pkgver=0.95.1
+pkgrel=1
+pkgdesc='KDE PolicyKit Authentication Agent'
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('LGPL')
+depends=('kdelibs')
+makedepends=('cmake' 'automoc4')
+source=("ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2")
+md5sums=('68e40d2a43335cb5876a1c8bc51c461b')
+
+build() {
+	cd ${srcdir}
+	mkdir build
+	cd build
+	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
+}
+
+package() {
+	cd ${srcdir}/build
+	make DESTDIR=$pkgdir install
+}




More information about the arch-commits mailing list