mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 08:57:14 +08:00
41 lines
1.7 KiB
Bash
41 lines
1.7 KiB
Bash
#
|
|
# 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
|
|
pkgname=initscripts-live
|
|
pkgver=2012.02
|
|
pkgrel=4
|
|
pkgdesc="System initialization/bootup scripts"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.chakra-project.org"
|
|
license=('GPL2')
|
|
groups=('livecd')
|
|
provides=("initscripts=${pkgver}")
|
|
conflicts=('initscripts' 'chakra-initscripts')
|
|
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown etc/conf.d/wireless)
|
|
depends=('glibc' 'bash' 'grep' 'coreutils' 'udev>=174' 'iproute2'
|
|
'ncurses' 'kbd' 'findutils' 'sysvinit')
|
|
makedepends=('asciidoc')
|
|
optdepends=('bridge-utils: Network bridging support'
|
|
'dhcpcd: DHCP network configuration'
|
|
'net-tools: legacy network support'
|
|
'wireless_tools: Wireless networking')
|
|
source=("http://chakra.sourceforge.net/sources/${_origname}/${_origname}-${pkgver}.tar.xz"
|
|
'http://chakra.sourceforge.net/sources/initscripts/wireless.conf.d'
|
|
"http://chakra.sourceforge.net/sources/initscripts/${pkgname}-2012.02-4.patch")
|
|
sha256sums=('c6c0364fd6f9d6ca887ac09cbd3e8ac736c84c9cd7e887cc18303204549c2964'
|
|
'0eba4250b07e0a727ef64772f5ee9027b123cbd4bb0894ba2842f545035c827f'
|
|
'79a7bdf17eebbc21f88b124dfd7ece95da17f6763d54501f53d3f08eeb3f83cc')
|
|
|
|
package() {
|
|
cd ${srcdir}/chakra-${_origname}
|
|
make DESTDIR=${pkgdir} install
|
|
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
|
|
cd ${pkgdir}
|
|
patch -Np1 -i ${srcdir}/${pkgname}-2012.02-4.patch || return 1
|
|
#rm -v $(find . -type f -name '*.orig')
|
|
}
|