summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/initscripts/PKGBUILD
blob: 43e0ed9fa707a7b89ec615e0aca83147edf70501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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=6
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  || exit 1
   patch -p0 < $startdir/src/rc.shutdown.patch || exit 1
  DESTDIR=$startdir/pkg ./install.sh
}