blob: 38f51bd2f43ad610044147ecdd8c8eb1daf692c4 (
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
45
46
47
48
49
50
51
52
|
# 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>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_pkgname=polkit
pkgname=polkit-consolekit
pkgver=0.113
pkgrel=6
pkgdesc="PolyciKit 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')
makedepends=('intltool' 'gtk-doc' 'gobject-introspection')
provides=("polkit=$pkgver")
conflicts=('polkit')
options=('!libtool')
install=polkit.install
source=("http://www.freedesktop.org/software/polkit/releases/$_pkgname-$pkgver.tar.gz")
sha256sums=('e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81')
build() {
cd "$srcdir"/$_pkgname-$pkgver
./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
}
check() {
cd $_pkgname-$pkgver
make -k check || :
}
package() {
cd "$srcdir"/$_pkgname-$pkgver
make DESTDIR="$pkgdir" install
chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
}
|