summaryrefslogtreecommitdiffstats
path: root/abs/core/initscripts/PKGBUILD
blob: 8b227687cb50a52235b56a7280294dbfe8e5b237 (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
# $Id: PKGBUILD 127034 2011-06-09 22:34:09Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Maintainer: Thomas Bächler <thomas@archlinux.org>
# Maintainer: Aaron Griffin <aaron@archlinux.org>

pkgname=initscripts
pkgver=2011.06.4
pkgrel=5
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.archlinux.org"
license=('GPL2')
groups=('base')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
depends=('glibc' 'bash' 'grep' 'coreutils' 'udev>=171' 'iproute2'
         'ncurses' 'kbd' 'findutils' 'sysvinit')
optdepends=('bridge-utils: Network bridging support'
            'dhcpcd: DHCP network configuration'
            'net-tools: legacy network support'
            'wireless_tools: Wireless networking')
install=initscripts.install
source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.xz"
        'wireless.conf.d' 'rc.sysinit.patch' 'rc.shutdown.patch' 'rc.multi.patch' 'inittab.patch')

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -p1 < ${srcdir}/rc.sysinit.patch || exit 1
  patch -p0 < ${srcdir}/rc.shutdown.patch || exit 1
  patch -p0 < ${srcdir}/rc.multi.patch || exit 1
  patch -p0 < ${srcdir}/inittab.patch || exit 1
  make DESTDIR=${pkgdir} install
  install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless.example
}
md5sums=('34cbe55f3f42069c59237db935d0511b'
         '027576534885b8d5dded9be546057b12'
         'c9a39df704ad5332ef794ea3630252e5'
         '73abaf06450104bddf16d409015f81ab'
         'a166ea014a1c75860b14fc98825686cc'
         '521bbd001633d14b08e5471bea584ee4')