blob: 669c215d46ca7998776d944de89d57521b292620 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgbase=ConsoleKit2
pkgname=consolekit2
pkgver=1.2.0
pkgrel=2
pkgdesc="A framework for defining and tracking users, login sessions, and seats"
provides="consolekit=$pkgver"
replaces=consolekit
arch=all
url="https://consolekit2.github.io/ConsoleKit2"
license=GPL2
depends="polkit eudev"
makedepends="git automake autoconf gettext-dev glib-dev zlib-dev libxslt-dev
polkit-dev eudev-dev libdrm-dev libnih-dev libtool
xorg-server-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz
ac_disable_static.patch
0001-busybox-reboot-and-poweroff-support.patch
pam-foreground-compat.ck"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
builddir="$srcdir"/$pkgbase-$pkgver
prepare() {
default_prepare
cd "$srcdir"/$pkgbase-$pkgver
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd "$srcdir"/$pkgbase-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd "$srcdir"/$pkgbase-$pkgver
make DESTDIR="$pkgdir" install
install -m 755 "$srcdir"/pam-foreground-compat.ck \
"$pkgdir"/usr/lib/ConsoleKit/run-session.d/
}
sha512sums="30f2ceec14044669f40676e9b17513874350e2b70f0a918be934f7e64309c8595dbec4ac0937044c98dda51eb97c99443dc9d1de33f08365d72da8600296ad78 consolekit2-1.2.0.tar.gz
0f628fd1589b1790ad9adcb2278de504b75cc6b4ec7284a1cbda44ebd34b9966014989f47f343cb936d8503acc4eeec43ddff07cb11f55388e47256b8420e2e8 ac_disable_static.patch
ec0c88e640afac0561c84131d63fa8c9e2e29611b789ae5c163cd11465b22017602d88dc853866624f57bce2ee466ab63af075d083a9ba6e87327ad8d0a0769f 0001-busybox-reboot-and-poweroff-support.patch
3b114fbbe74cfba0bfd4dad0eb1b85d08b4979a998980c1cbcd7f44b8a16b0ceca224680d4f4a1644cd24698f8817e5e8bdfcdc4ead87a122d0e323142f47910 pam-foreground-compat.ck"
|