blob: daf17f204a0d4f6ba25532b482bc6bac45556a11 (
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
|
# Maintainer (Manjaro): artoo <artoo@manjaro.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=elogind
pkgver=219.12
pkgrel=1
pkgdesc="The systemd project's logind, extracted to a standalone package"
arch=('i686' 'x86_64')
url="https://github.com/wingo/elogind"
license=('GPL')
groups=('openrc-desktop')
depends=('dbus' 'polkit' 'libudev.so')
makedepends=('libcap' 'intltool' 'libtool' 'gperf' 'gtk-doc')
options=('!libtool')
install=elogind.install
source=("$pkgname-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
'elogind-docs.patch'
'elogind-lrt.patch')
sha256sums=('80241494f5c794e8501ccf570ac805275ace368755780f38a18762fd06243f95'
'cafea7a13159dee700902e3837aab015d9521dfe122840faf2d909b5dc02229e'
'a9227ed4e97117ab5751de38c19813560a12f51379ccd882a89e7ef9842659ac')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -Np 1 -i $srcdir/elogind-docs.patch
patch -Np 1 -i $srcdir/elogind-lrt.patch
sed -e "s|/bin/false|/usr/lib/elogind/elogind|" \
-i src/login/org.freedesktop.login1.service
autoreconf -vim
}
build() {
cd $srcdir/${pkgname}-${pkgver}
intltoolize
./configure \
--sysconfdir=/etc \
--prefix=/usr \
--libexecdir=/usr/lib
make
}
package() {
cd $srcdir/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|