mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 09:54:36 +08:00
39 lines
1.6 KiB
Bash
39 lines
1.6 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=2011.04
|
|
pkgrel=2
|
|
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=('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')
|
|
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/${pkgname}-${pkgver}-${pkgrel}.patch")
|
|
sha256sums=('95d09e2f68f18e6af5bba1a650352a1b9052eb5a10f1b432f3a78b649d545d9d'
|
|
'0eba4250b07e0a727ef64772f5ee9027b123cbd4bb0894ba2842f545035c827f'
|
|
'4f0ea59e95662a2edbf29d7a376b760367b5dcb503d31e2d891dd4760aac34ff')
|
|
|
|
package() {
|
|
cd ${srcdir}/${_origname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless
|
|
cd ${pkgdir}
|
|
patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}-${pkgrel}.patch || return 1
|
|
#rm -v $(find . -type f -name '*.orig')
|
|
}
|