blob: c56313a9d4e6107da70d76e06161c01cbe76a676 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=uselessd
pkgver=1
pkgrel=0
pkgdesc="A systemd replacement which uses less"
url="http://uselessd.darknedgy.net/"
arch="all"
license="GPL2 MIT"
depends=""
depends_dev="libcap-dev dbus-dev"
makedepends="$depends_dev intltool gperf coreutils m4"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://bitbucket.org/bcsd/uselessd/downloads/uselessd-$pkgver.tar.xz"
_builddir="$srcdir"/uselessd-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-nls \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="a191949baa7913ff867d6ae214200c59 uselessd-1.tar.xz"
sha256sums="6a0cd808345928e6c6913caa251d3e97c77ec4cf673906b1adb4e232a327e2c3 uselessd-1.tar.xz"
sha512sums="51c0bdabe3bda63153205c2c3caac6402f7b5e46368b7a7dde1cde7a759669f9be687065b60ad8aac1bd32539b1d3e32b01e224e58d03fb2c5460a8d19f0ffaf uselessd-1.tar.xz"
|