blob: 47f184bf1f222ab6afb373f6e81291ba4e0364be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"
}
|