core/chakra-initscripts/PKGBUILD
2011-02-20 13:50:23 +00:00

43 lines
1.7 KiB
Bash
Executable File

#
# 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
_origname=initscripts
pkgname=chakra-initscripts
pkgver=2011.02
pkgrel=3
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.chakra-project.org"
license=('GPL2')
groups=('livecd')
provides=("initscripts=${pkgver}")
conflicts=('initscripts')
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
depends=('bash' 'awk' 'grep' 'coreutils' 'sed' 'udev'
'net-tools' 'ncurses' 'kbd' 'findutils' 'sysvinit')
optdepends=('bridge-utils: Network bridging support'
'dhcpcd: DHCP network configuration'
'wireless_tools: Wireless networking')
install=initscripts.install
source=("http://chakra-project.org/sources/initscripts/initscripts-${pkgver}.tar.xz"
'http://chakra-project.org/sources/initscripts/wireless.conf.d'
"http://chakra-project.org/sources/initscripts/chakra-initscripts-${pkgver}-${pkgrel}.patch")
sha256sums=('0734166a2fd170a8b144a51d8be5ac3773f8c1381240a744cfd05005464aabda'
'0eba4250b07e0a727ef64772f5ee9027b123cbd4bb0894ba2842f545035c827f'
'bb281c689fdd408a62cc8413eba9bb5b9f3b88ec2d623d239dfce39c7b7a2d53')
package() {
cd ${srcdir}/${_origname}-${pkgver}
DESTDIR=${pkgdir} ./install.sh
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
#cp -vr ${startdir}/etc ${pkgdir}
cd ${pkgdir}
patch -Np1 -i ${srcdir}/chakra-initscripts-${pkgver}-${pkgrel}.patch || return 1
}