# $Id: PKGBUILD 25007 2009-01-22 17:10:39Z aaron $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>

pkgname=initscripts
pkgver=2009.01
pkgrel=5
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.archlinux.org"
license=('GPL')
groups=('base')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown)
depends=('glibc' 'bash' 'awk' 'grep' 'coreutils' 'sed' 'udev>=118' 'net-tools' 'ncurses' 'kbd' 'findutils')
source=(ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.gz)
md5sums=('b947f3efd5d4681459fe8073d610f1b5')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}/
   patch -p0 < $startdir/src/rc.sysinit.patch
   patch -p0 < $startdir/src/rc.shutdown.patch
  DESTDIR=$startdir/pkg ./install.sh
}