diff options
Diffstat (limited to 'pcr/polkit-consolekit')
-rw-r--r-- | pcr/polkit-consolekit/PKGBUILD | 49 | ||||
-rw-r--r-- | pcr/polkit-consolekit/polkit.install | 9 | ||||
-rw-r--r-- | pcr/polkit-consolekit/polkit.pam | 7 |
3 files changed, 26 insertions, 39 deletions
diff --git a/pcr/polkit-consolekit/PKGBUILD b/pcr/polkit-consolekit/PKGBUILD index 0d3b39f61..3b1d99f6b 100644 --- a/pcr/polkit-consolekit/PKGBUILD +++ b/pcr/polkit-consolekit/PKGBUILD @@ -1,44 +1,47 @@ -# Maintainer (Arch): kozec <kozec at kozec.com> -# Contributor (Arch): Lukas Jirkovsky <l.jirkovsky@gmail.com> -# Contributor (Arch): Jan de Groot <jgc@archlinux.org> +# Maintainer: artoo <artoo@manjaro.org> +# Contributor: kozec <kozec at kozec.com> +# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +_pkgname=polkit + pkgname=polkit-consolekit pkgver=0.113 -pkgrel=2 +pkgrel=3 pkgdesc="PolicyKit with ConsoleKit support for non-systemd systems" arch=('i686' 'x86_64' 'armv7h') license=('LGPL') url="http://www.freedesktop.org/wiki/Software/polkit" -depends=('glib2' 'pam' 'expat' 'js185') +depends=('glib2' 'pam' 'expat' 'udev' 'js17') makedepends=('intltool' 'gtk-doc' 'gobject-introspection') provides=("polkit=$pkgver") conflicts=('polkit') options=('!libtool') install=polkit.install -source=(http://www.freedesktop.org/software/polkit/releases/polkit-$pkgver.tar.gz - polkit.pam) +source=("http://www.freedesktop.org/software/polkit/releases/$_pkgname-$pkgver.tar.gz") +sha256sums=('e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81') build() { - cd "$srcdir/polkit-$pkgver" + cd "$srcdir"/$_pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \ - --with-systemdsystemunitdir=/usr/lib/systemd/system \ - --enable-libsystemd-login=no \ - --disable-static --enable-gtk-doc - make + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --localstatedir=/var \ + --libexecdir=/usr/lib/polkit-1 \ + --enable-libsystemd-login=no \ + --disable-static \ + --enable-gtk-doc \ + --with-os-type=gentoo + make } package() { - cd "$srcdir/polkit-$pkgver" - make DESTDIR="$pkgdir" install - - chown 102 "$pkgdir/etc/polkit-1/rules.d" - chown 102 "$pkgdir/usr/share/polkit-1/rules.d" + cd "$srcdir"/$_pkgname-$pkgver + make DESTDIR="$pkgdir" install - install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1" + chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d + #chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d } - -md5sums=('4b77776c9e4f897dcfe03b2c34198edf' - '6564f95878297b954f0572bc1610dd15') diff --git a/pcr/polkit-consolekit/polkit.install b/pcr/polkit-consolekit/polkit.install index fbb98919e..e917e0095 100644 --- a/pcr/polkit-consolekit/polkit.install +++ b/pcr/polkit-consolekit/polkit.install @@ -7,12 +7,3 @@ post_install() { 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 -} diff --git a/pcr/polkit-consolekit/polkit.pam b/pcr/polkit-consolekit/polkit.pam deleted file mode 100644 index 04f53e0db..000000000 --- a/pcr/polkit-consolekit/polkit.pam +++ /dev/null @@ -1,7 +0,0 @@ -auth requisite pam_nologin.so -auth required pam_env.so -auth required pam_unix.so -account required pam_unix.so -session required pam_limits.so -session required pam_unix.so -password required pam_unix.so |