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

Jan de Groot jgc at archlinux.org
Tue Aug 11 15:30:02 UTC 2009


    Date: Tuesday, August 11, 2009 @ 11:30:02
  Author: jgc
Revision: 49525

Install pam module
Fix license

Modified:
  polkit/gnome-unstable/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-11 15:05:26 UTC (rev 49524)
+++ PKGBUILD	2009-08-11 15:30:02 UTC (rev 49525)
@@ -6,12 +6,15 @@
 pkgrel=1
 pkgdesc="Application development toolkit for controlling system-wide privileges"
 arch=(i686 x86_64)
-license=('custom')
+license=('LGPL')
 url="http://www.freedesktop.org/wiki/Software/Policykit"
-depends=('glib2>=2.21.4' 'eggdbus' 'pam')
+depends=('glib2>=2.21.4' 'eggdbus>=0.4' 'pam')
 makedepends=('intltool' 'gtk-doc')
 options=('!libtool')
-source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
+source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
+        polkit.pam)
+md5sums=('16e9361b6c8dbbecc29ee263d7880998'
+         '6564f95878297b954f0572bc1610dd15')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -19,5 +22,7 @@
       --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
       --disable-static --enable-gtk-doc || return 1
   make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make DESTDIR="${pkgdir}" install || return 1
+
+  install -m644 "${srcdir}/polkit.pam" "${pkgdir}/etc/pam.d/polkit-1.pam" || return 1
 }




More information about the arch-commits mailing list