blob: baa8776481efbd7a90d9072970c18e402e2f79c5 (
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
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Maintainer (AUR): Jens Staal <staal1978@gmail.com>
_pkgname=initng
pkgname=initng-git
pkgver=20120517.1043
pkgdesc="A full replacement for the old System V Init system"
url="http://initng.org/"
license=('GPL3')
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
provides=('init')
depends=('dbus')
makedepends=('git' 'acr' 'ftjam' 'makepkg-git')
optdepends=('ncurses')
options=(!strip)
source=('git://github.com/initng/initng.git' fixes.patch)
backup=(etc/initng/killall5-ignore)
pkgver() {
cd "$srcdir/$_pkgname"
date -u +%Y%m%d.%H%M -d "$(git log -n1 --date=iso --format=format:'%cd')"
}
build() {
cd "$srcdir/$_pkgname"
patch -Np1 -i "$srcdir/fixes.patch"
acr
./configure --prefix="/usr" --sbindir=/sbin --sysconfdir=/etc
jam
}
package() {
cd "$srcdir/$_pkgname"
jam install DESTDIR="$pkgdir"
find "$pkgdir"/usr/lib -type f -name '*.so*' -exec chmod 755 {} +
find "$pkgdir"/sbin -type f -exec chmod 755 {} +
pushd "$pkgdir"/usr/lib
ln -s libngeclient.so.* libngeclient.so.0
ln -s libngcclient.so.* libngcclient.so.0
popd
install -d "$pkgdir"/usr/share/licenses/initng
install -m644 COPYING "$pkgdir"/usr/share/licenses/initng/
install -m644 AUTHORS "$pkgdir"/usr/share/licenses/initng/
}
md5sums=('SKIP'
'bf6d17e00c5f0d85d99b7184980528ad')
|