blob: 3be24b058450a49c983a78c5b341f50dc0dec1b1 (
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
|
# $Id: PKGBUILD 92996 2010-10-02 19:26:38Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=sysvinit
pkgver=2.88
pkgrel=4
pkgdesc="Linux System V Init"
arch=('i686' 'x86_64')
url="http://savannah.nongnu.org/projects/sysvinit"
license=('GPL')
groups=('base')
depends=('shadow' 'util-linux' 'coreutils' 'glibc' 'awk')
source=(http://download.savannah.gnu.org/releases/sysvinit/${pkgname}-${pkgver}dsf.tar.bz2 halt-init.patch)
build() {
cd "${srcdir}/${pkgname}-${pkgver}dsf"
patch -p0 < ${srcdir}/halt-init.patch
make || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}dsf"
make ROOT="${pkgdir}" install
# Rename some stuff so it does not bigfoot changes needed for runit
cd "${pkgdir}/sbin"
rm -f reboot poweroff
mv halt halt-init
mv shutdown shutdown-init
}
md5sums=('6eda8a97b86e0a6f59dabbf25202aa6f'
'cd4c5767f63ca5881e3e1f1c4f10f896')
|