2010-06-06 18:46:28 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
2010-03-13 23:25:19 +08:00
|
|
|
pkgname=initscripts
|
2012-01-11 15:49:58 +08:00
|
|
|
pkgver=2011.12.1.1
|
2012-01-19 08:39:57 +08:00
|
|
|
pkgrel=2
|
2010-03-13 23:25:19 +08:00
|
|
|
pkgdesc="System initialization/bootup scripts"
|
|
|
|
arch=('i686' 'x86_64')
|
2011-02-13 06:19:36 +08:00
|
|
|
url="http://www.chakra-project.org"
|
2011-02-13 05:26:46 +08:00
|
|
|
license=('GPL2')
|
2010-03-13 23:25:19 +08:00
|
|
|
groups=('base')
|
2011-11-02 01:30:00 +08:00
|
|
|
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless etc/locale.conf)
|
2011-11-01 18:22:29 +08:00
|
|
|
depends=('glibc' 'bash' 'grep' 'coreutils' 'udev>=174' 'iproute2'
|
2011-06-17 17:07:41 +08:00
|
|
|
'ncurses' 'kbd' 'findutils' 'sysvinit')
|
2012-01-11 15:49:58 +08:00
|
|
|
optdepends=('net-tools: legacy networking support'
|
|
|
|
'bridge-utils: Network bridging support'
|
2010-03-13 23:25:19 +08:00
|
|
|
'dhcpcd: DHCP network configuration'
|
|
|
|
'wireless_tools: Wireless networking')
|
2011-11-01 18:22:29 +08:00
|
|
|
makedepends=(asciidoc)
|
2012-01-11 15:49:58 +08:00
|
|
|
install=initscripts.install
|
2011-11-01 18:22:29 +08:00
|
|
|
source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz"
|
2011-11-02 01:30:00 +08:00
|
|
|
"http://chakra.sourceforge.net/sources/initscripts/wireless.conf.d")
|
2010-03-13 23:25:19 +08:00
|
|
|
|
2011-06-17 17:07:41 +08:00
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
|
|
|
|
mksource() {
|
2011-11-01 18:22:29 +08:00
|
|
|
rm -vRf chakra-${pkgname}
|
|
|
|
git clone git://gitorious.org/chakra/chakra-${pkgname}.git
|
|
|
|
rm -vRf chakra-${pkgname}/.git
|
|
|
|
pushd chakra-${pkgname}
|
|
|
|
popd
|
|
|
|
tar -cvJf ${pkgname}-${pkgver}.tar.xz chakra-${pkgname}/*
|
2011-11-14 21:10:42 +08:00
|
|
|
sha256sum ${pkgname}-${pkgver}.tar.xz
|
2011-06-17 17:07:41 +08:00
|
|
|
}
|
2011-11-01 18:22:29 +08:00
|
|
|
|
2011-02-13 05:26:46 +08:00
|
|
|
package() {
|
2011-11-01 18:22:29 +08:00
|
|
|
cd ${srcdir}/chakra-${pkgname}
|
2012-01-19 08:39:57 +08:00
|
|
|
|
|
|
|
# Update copyright year
|
|
|
|
sed -i 's/2006-2011/2006-2012/g' rc.sysinit
|
|
|
|
|
2011-05-24 04:08:04 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2011-02-13 05:26:46 +08:00
|
|
|
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
|
2011-11-02 01:49:02 +08:00
|
|
|
|
|
|
|
# Avoid conflicts
|
|
|
|
mv ${pkgdir}/etc/profile.d/locale.sh ${pkgdir}/etc/profile.d/locale.sh.new
|
2010-03-13 23:25:19 +08:00
|
|
|
}
|
2011-11-01 18:22:29 +08:00
|
|
|
|
2012-01-11 15:49:58 +08:00
|
|
|
sha256sums=('c4df150201a5194dd0eb0973b53998ae84eaaf7443b3aaefa1f37f4d902d2f90'
|
2011-11-06 19:34:07 +08:00
|
|
|
'0eba4250b07e0a727ef64772f5ee9027b123cbd4bb0894ba2842f545035c827f')
|