[arch-commits] Commit in polkit/trunk (PKGBUILD polkit.install)
Jan de Groot
jgc at archlinux.org
Tue Jun 2 06:08:16 UTC 2015
Date: Tuesday, June 2, 2015 @ 08:08:16
Author: jgc
Revision: 239999
upgpkg: polkit 0.112-3
Update to git snapshot, fixes some bugs and memleaks. Do not delete user account on post_remove
Modified:
polkit/trunk/PKGBUILD
polkit/trunk/polkit.install
----------------+
PKGBUILD | 16 +++++++++-------
polkit.install | 9 ---------
2 files changed, 9 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-01 20:58:11 UTC (rev 239998)
+++ PKGBUILD 2015-06-02 06:08:16 UTC (rev 239999)
@@ -3,20 +3,24 @@
pkgname=polkit
pkgver=0.112
-pkgrel=2
+pkgrel=3
pkgdesc="Application development toolkit for controlling system-wide privileges"
arch=(i686 x86_64)
license=(LGPL)
url="http://www.freedesktop.org/wiki/Software/polkit"
depends=(glib2 pam expat systemd js17)
-makedepends=(intltool gtk-doc gobject-introspection)
+makedepends=(intltool gtk-doc gobject-introspection git)
install=polkit.install
-source=(http://www.freedesktop.org/software/polkit/releases/$pkgname-$pkgver.tar.gz
+source=("git://anongit.freedesktop.org/polkit#commit=f4d71e0de885010494b8b0b8d62ca910011d7544"
polkit.pam)
+md5sums=('SKIP'
+ '6564f95878297b954f0572bc1610dd15')
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
--enable-libsystemd-login=yes --disable-static \
@@ -25,7 +29,7 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
chown 102 "$pkgdir/etc/polkit-1/rules.d"
@@ -33,5 +37,3 @@
install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
}
-md5sums=('b0f2fa00a55f47c6a5d88e9b73f80127'
- '6564f95878297b954f0572bc1610dd15')
Modified: polkit.install
===================================================================
--- polkit.install 2015-06-01 20:58:11 UTC (rev 239998)
+++ polkit.install 2015-06-02 06:08:16 UTC (rev 239999)
@@ -7,12 +7,3 @@
post_upgrade() {
post_install
}
-
-post_remove() {
- if getent passwd polkitd >/dev/null; then
- userdel polkitd
- fi
- if getent group polkitd >/dev/null; then
- groupdel polkitd
- fi
-}
More information about the arch-commits
mailing list