2010-05-22 05:51:58 +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>
|
|
|
|
|
|
|
|
_origname=initscripts
|
2011-05-26 06:18:26 +08:00
|
|
|
pkgname=initscripts-live
|
2011-12-05 06:44:20 +08:00
|
|
|
pkgver=2011.12
|
2011-07-22 00:24:09 +08:00
|
|
|
pkgrel=1
|
2010-05-22 05:51:58 +08:00
|
|
|
pkgdesc="System initialization/bootup scripts"
|
2011-02-13 06:19:36 +08:00
|
|
|
arch=('i686' 'x86_64')
|
2010-05-26 06:34:31 +08:00
|
|
|
url="http://www.chakra-project.org"
|
2011-02-13 06:19:36 +08:00
|
|
|
license=('GPL2')
|
2010-09-27 01:05:50 +08:00
|
|
|
groups=('livecd')
|
2010-07-28 08:00:29 +08:00
|
|
|
provides=("initscripts=${pkgver}")
|
2011-05-26 06:18:26 +08:00
|
|
|
conflicts=('initscripts' 'chakra-initscripts')
|
2011-02-13 06:19:36 +08:00
|
|
|
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
|
2011-11-01 19:02:46 +08:00
|
|
|
depends=('glibc' 'bash' 'grep' 'coreutils' 'udev>=174' 'iproute2'
|
2011-06-17 17:41:28 +08:00
|
|
|
'ncurses' 'kbd' 'findutils' 'sysvinit')
|
2011-02-13 06:19:36 +08:00
|
|
|
optdepends=('bridge-utils: Network bridging support'
|
|
|
|
'dhcpcd: DHCP network configuration'
|
2011-06-17 17:41:28 +08:00
|
|
|
'net-tools: legacy network support'
|
2011-02-13 06:19:36 +08:00
|
|
|
'wireless_tools: Wireless networking')
|
2011-11-01 19:02:46 +08:00
|
|
|
source=("http://chakra.sourceforge.net/sources/${_origname}/${_origname}-${pkgver}.tar.xz"
|
|
|
|
'http://chakra.sourceforge.net/sources/initscripts/wireless.conf.d'
|
2011-12-05 06:44:20 +08:00
|
|
|
"http://chakra.sourceforge.net/sources/initscripts/${pkgname}-2011.12.patch")
|
|
|
|
sha256sums=('3bbb949f087e16c7e1d59bcc1dad0cfba7f60ad10b3f66e33f8ecd555d8f8b39'
|
2011-02-13 06:19:36 +08:00
|
|
|
'0eba4250b07e0a727ef64772f5ee9027b123cbd4bb0894ba2842f545035c827f'
|
2011-12-05 06:44:20 +08:00
|
|
|
'525aabd76edc19c2fc8cdebfd7f2ec98856042f1a281a09830c70373b2fa823b')
|
2010-05-22 05:51:58 +08:00
|
|
|
|
2011-02-13 06:19:36 +08:00
|
|
|
package() {
|
2011-11-01 19:02:46 +08:00
|
|
|
cd ${srcdir}/chakra-${_origname}
|
2011-05-29 20:37:19 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2011-02-13 06:19:36 +08:00
|
|
|
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
|
|
|
|
cd ${pkgdir}
|
2011-12-05 06:44:20 +08:00
|
|
|
patch -Np1 -i ${srcdir}/${pkgname}-2011.12.patch || return 1
|
2011-07-26 20:26:17 +08:00
|
|
|
rm -v $(find . -type f -name '*.orig')
|
2010-05-22 05:51:58 +08:00
|
|
|
}
|