summaryrefslogtreecommitdiff
path: root/pcr/polkit-consolekit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/polkit-consolekit/PKGBUILD')
-rw-r--r--pcr/polkit-consolekit/PKGBUILD49
1 files changed, 26 insertions, 23 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')