blob: c7a922a947d1452d8ea1048c7237a31b7f04c437 (
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
53
54
55
56
|
# Maintainer: picokan <todaysoracle@protonmail.com>
# Contributor: artoo <artoo@manjaro.org>
# Contributor: micwoj92 <micwoj9292@gmail.com>
_pkgname=ConsoleKit2
pkgname=consolekit
pkgver=1.2.6
pkgrel=5
pkgdesc="A framework for defining and tracking users, login sessions, and seats"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/ConsoleKit2/ConsoleKit2"
license=('GPL')
provides=('elogind')
depends=('dbus' 'glib2' 'libx11' 'polkit-consolekit' 'udev' 'zlib' 'python3')
makedepends=('acl' 'xmlto' 'docbook-xsl' 'python-setuptools' 'glib2-devel')
options=('libtool')
install=consolekit.install
source=("$url/archive/refs/tags/$pkgver.tar.gz"
'consolekit.tmpfiles.conf')
sha256sums=('d41224129c5a689469ebd8fe87e34c4a76afdb7b2f6201eb246320262ea5a942'
'778552dc12b3c235bde200e476d4262da0c135f3f6f8b3e975a87881d1f154d1')
build(){
cd $srcdir/$_pkgname-$pkgver
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--with-rundir=/run \
--libexecdir=/usr/lib/ConsoleKit \
--localstatedir=/var \
--enable-polkit \
--enable-pam-module \
--enable-udev-acl \
--enable-docbook-docs \
--with-dbus-services=/usr/share/dbus-1/services \
--with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \
--with-pam-module-dir=/usr/lib/security \
--without-systemdsystemunitdir \
--disable-cgroups
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/consolekit.tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/consolekit.conf
rm -rf "${pkgdir}"/run
}
# vim:set ts=4 sts=4 sw=4 et:
|