2012-09-14 15:21:51 +00:00
|
|
|
# $Id: PKGBUILD 165801 2012-08-30 16:58:57Z tomegun $
|
2012-01-21 22:21:45 +00:00
|
|
|
# Maintainer: Tom Gundersen <teg@jklm.no>
|
|
|
|
# Contributor: Thomas Bächler <thomas@archlinux.org>
|
|
|
|
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
2009-10-08 03:40:19 +00:00
|
|
|
|
|
|
|
pkgname=initscripts
|
2012-10-14 16:26:20 +00:00
|
|
|
pkgver=2012.10.1
|
|
|
|
pkgrel=1
|
2009-10-08 03:40:19 +00:00
|
|
|
pkgdesc="System initialization/bootup scripts"
|
2012-01-21 22:21:45 +00:00
|
|
|
arch=('any')
|
|
|
|
url="http://www.archlinux.org"
|
2011-05-26 04:45:00 +00:00
|
|
|
license=('GPL2')
|
2012-09-14 15:21:51 +00:00
|
|
|
provides=('initscripts-systemd')
|
|
|
|
conflicts=('initscripts-systemd')
|
|
|
|
replaces=('initscripts-systemd')
|
2012-07-29 00:59:04 +00:00
|
|
|
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown)
|
2012-10-06 05:08:15 +00:00
|
|
|
depends=('glibc' 'bash' 'coreutils' 'systemd-tools' 'iproute2' 'ncurses' 'findutils' 'sysvinit-tools')
|
2012-09-14 15:21:51 +00:00
|
|
|
optdepends=('dhcpcd: DHCP network configuration'
|
|
|
|
'bridge-utils: Legacy network bridging support'
|
|
|
|
'net-tools: Legacy network support'
|
2012-10-06 05:08:15 +00:00
|
|
|
'wireless_tools: Legacy wireless networking'
|
|
|
|
'sysvinit: Legacy init support')
|
2012-01-21 22:21:45 +00:00
|
|
|
makedepends=(asciidoc)
|
2010-04-05 01:16:29 +00:00
|
|
|
install=initscripts.install
|
2012-01-21 22:21:45 +00:00
|
|
|
source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.xz"
|
|
|
|
'alarm.patch'
|
|
|
|
'rc.conf')
|
2012-10-14 16:26:20 +00:00
|
|
|
md5sums=('a4a747e73819b81f2218cf5b9bd53703'
|
2012-07-29 00:59:04 +00:00
|
|
|
'e7ec1f2d469258b91bbda84284d37c4c'
|
2012-01-21 22:21:45 +00:00
|
|
|
'c618e099f522f861e08a475f8960a6c2')
|
2009-10-08 03:40:19 +00:00
|
|
|
|
2011-05-26 04:45:00 +00:00
|
|
|
package() {
|
2012-01-21 22:21:45 +00:00
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
patch -p1 -i "${srcdir}/alarm.patch"
|
|
|
|
cp "${srcdir}/rc.conf" .
|
|
|
|
[ "${CARCH}" == "arm" ] && sed -i 's/@TTY@/ttyS0/' inittab
|
2012-07-29 19:17:49 +00:00
|
|
|
[ "${CARCH}" == "armv6h" ] && sed -i 's/@TTY@/ttyS0/' inittab
|
2012-01-21 22:21:45 +00:00
|
|
|
[ "${CARCH}" == "armv7h" ] && sed -i 's/@TTY@/ttyO2/' inittab
|
|
|
|
|
2011-05-26 04:45:00 +00:00
|
|
|
make DESTDIR=${pkgdir} install
|
2009-10-08 03:40:19 +00:00
|
|
|
}
|