summaryrefslogtreecommitdiffstats
path: root/abs/core/sysvinit/PKGBUILD
blob: 110d93cdd97eea9f2c6eda3d6bf6713f77338da4 (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
# $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=3
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')
install=sysvinit.install
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
}
md5sums=('6eda8a97b86e0a6f59dabbf25202aa6f'
         'cd4c5767f63ca5881e3e1f1c4f10f896')