blob: ee01d5288677336af05ad85aae37dce32f2ad140 (
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
57
58
|
# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe>
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
# Maintainer (Manjaro): artoo <artoo@manjaro.org>
# Contributor (Manjaro): Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Maintainer (Arch Linux): Eric Belanger <eric@archlinux.org>
pkgname=sysvinit
pkgver=2.90
pkgrel=1
pkgdesc='Linux System V Init'
url='http://www.nongnu.org/sysvinit/'
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('glibc')
provides=('init')
conflicts=('init')
validpgpkeys=('146BF1D0D20B006B10299B4CFA3EC79A4C0C11CC') # Jesse Smith <jsmith@resonatingmedia.com>
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('114cffc8ef514a38b9916de2050bb6d73b43dff7afd05aee6b09d2f6cea7664e'
'SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p "$pkgdir/usr/bin"
ln -s usr/bin "$pkgdir/bin"
ln -s usr/bin "$pkgdir/sbin"
make ROOT="$pkgdir" install
rm "$pkgdir/bin" "$pkgdir/sbin"
local rmprogs=(
# provided by util-linux
last
lastb
mesg
sulogin
utmpdump
wall
# provided by procps-ng
pidof
)
cd "$pkgdir"
local prog
for prog in "${rmprogs[@]}"; do
rm usr/bin/"$prog" usr/share/man/man?/"$prog".?
done
# old Arch Linux sysvinit would have split out fstab-decode,
# killall5, and bootlogd into a separate sysvinit-tools package.
# Unfortunately, because sysvinit-tools provided pidof, procps-ng
# still conflicts=(sysvinit-tools).
}
|