PKGBUILDs/core/initscripts/PKGBUILD
2011-06-19 00:36:24 -05:00

75 lines
2.4 KiB
Bash

# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
# PlugApps changes: inittab has a line for ttyS0 at 115200, 2 ttys
# for armv5te, 6 for armv7
# rc.shutdown has an LED turn-off line
# rc.conf is different
# rc.sysinit has our copyright info
pkgname=initscripts
pkgver=2011.06.4
pkgrel=1
pkgdesc="System initialization/bootup scripts"
plugrel=1
arch=('arm' 'armv7')
url="http://www.archlinuxarm.org"
license=('GPL2')
groups=('base')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
depends=('bash' 'grep' 'coreutils' 'udev>=167'
'net-tools' 'ncurses' 'kbd' 'findutils' 'sysvinit')
optdepends=('bridge-utils: Network bridging support'
'dhcpcd: DHCP network configuration'
'wireless_tools: Wireless networking')
install=initscripts.install
source=(adjtime
bash-completion
functions
hwclock
inittab
inittab.armv7
Makefile
minilogd.c
netfs
network
rc.conf
rc.d
rc.local
rc.local.shutdown
rc.multi
rc.shutdown
rc.single
rc.sysinit
wireless.conf.d
zsh-completion)
md5sums=('f976a1c61c2fb9bd2c30e3fdd0d62b61'
'bb2506a443dd1efe1963aa731be2b7a9'
'3a387fbc7567bb053c9964765a7ea747'
'16fa1f14f10fc8c1daf04f4b5edb9cab'
'f02566fd9a1eeac3aadd5d6af32453c5'
'6260da9309cdcfd68444867dc91d574a'
'da476ea7e29f23611cc1374a2a4cee8e'
'2c2dcc7ce7586f27fc5e6887f8ec74b8'
'565f1f24c5dc765831a58622f65844af'
'f56d3a9eb7c0406b47dfb5fbab4d3cf3'
'e75db8f5b8852f2a066a3ccf2325f7d5'
'dc8510d0be00b8c6640be59bfe7d6d27'
'bd236a57bc00aa4727b98c5ae401c457'
'669ce6d766dd9deb86686219f3763fe4'
'986ca9250756b12f0cb5f517ccb8bc47'
'bdec56c7d6964875c3b3ecaf3bbe58dd'
'6d77bdeeb65958171881fe15589d8c6a'
'e3dc54a8c8518c79dbffbf687655bb81'
'027576534885b8d5dded9be546057b12'
'b75f2f05e8272aecf08aabd8c4003b4a')
package() {
cd ${srcdir}
make DESTDIR=${pkgdir} install
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
# On the armv7 boards, all ttys are enabled in this inittab file
if [ "${CARCH}" = "armv7" ]; then
install -D -m644 inittab.armv7 ${pkgdir}/etc/inittab
fi
}