summaryrefslogtreecommitdiff
path: root/pcr/polkit-consolekit/PKGBUILD
diff options
context:
space:
mode:
authorfreaj <freaj@riseup.net>2015-03-29 19:44:12 +0200
committerfreaj <freaj@riseup.net>2015-03-29 19:44:12 +0200
commit896520ecb98b8c40777b8dc510a051d2b3908328 (patch)
tree26dad3de7812ca5fe9f4b547abdfba0d27aa9ad0 /pcr/polkit-consolekit/PKGBUILD
parent7f22879038d0b08be8110ba6a7c0f8437ef0679c (diff)
polkit-consolekit: add new package to [pcr]
Diffstat (limited to 'pcr/polkit-consolekit/PKGBUILD')
-rw-r--r--pcr/polkit-consolekit/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/polkit-consolekit/PKGBUILD b/pcr/polkit-consolekit/PKGBUILD
new file mode 100644
index 000000000..47f184bf1
--- /dev/null
+++ b/pcr/polkit-consolekit/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer : freaj <freaj@riseup.net>
+# Maintainer (Manjaro): artoo <artoo@manjaro.org>
+# Contributor (Manjaro): kozec <kozec at kozec.com>
+# Contributor (Manjaro): Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Contributor (Manjaro): Jan de Groot <jgc@archlinux.org>
+
+pkgname=polkit-consolekit
+pkgver=0.112
+pkgrel=3
+pkgdesc="PolyciKit with ConsoleKit support for non-systemd systems"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.freedesktop.org/wiki/Software/polkit"
+depends=('glib2' 'pam' 'expat' 'js17')
+makedepends=('intltool' 'gtk-doc' 'gobject-introspection' 'python2')
+provides=("polkit=$pkgver")
+conflicts=('polkit')
+options=('!libtool')
+install=polkit.install
+source=(http://www.freedesktop.org/software/polkit/releases/polkit-$pkgver.tar.gz
+ polkit.pam)
+sha256sums=('d695f43cba4748a822fbe864dd32c4887c5da1c71694a47693ace5e88fcf6af6'
+ 'a35af3210bff1a8f2c04add47ed131a17df9eafbbc6f1671f97021be3ab1ff34')
+
+build() {
+ cd "$srcdir/polkit-$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
+}
+
+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"
+
+ install -m644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
+}