# Maintainer: Alexey D. # Contributor: Tom Gundersen # Contributor: Thomas Bächler # Contributor: Aaron Griffin pkgname=initscripts pkgver=2014.09.1 pkgrel=1 pkgdesc="Maintained fork of system initialization/bootup scripts" arch=('any') url="https://bitbucket.org/TZ86/initscripts-fork/overview" license=('GPL2') provides=('initscripts-systemd') conflicts=('initscripts-systemd') replaces=('initscripts-systemd') backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown) depends=('glibc' 'bash' 'coreutils' 'iproute2' 'ncurses' 'findutils' 'procps-ng' 'kbd' 'bootlogd') optdepends=('dhcpcd: DHCP network configuration' 'bridge-utils: Network bridging support' 'net-tools: Network support' 'wireless_tools: Wireless networking' 'systemd: new crypttab format support' 'sysctl-default-conf: additional tweaks for kernel parameters') makedepends=(asciidoc) install=initscripts.install source=(https://bitbucket.org/TZ86/$pkgname-fork/get/$pkgver.tar.bz2) md5sums=('10428fab486b57ed47f7a19033239446') package() { cd TZ86-$pkgname-* make DESTDIR=${pkgdir} install #comment out some rc.conf options sed -i 's/NETWORK_PERSIST=/#NETWORK_PERSIST=/g' ${pkgdir}/etc/rc.conf sed -i 's/DAEMONS=/#DAEMONS=/g' ${pkgdir}/etc/rc.conf #use systemd-tmpfiles instead of arch-tmpfiles sed -i 's:/usr/lib/initscripts/arch-tmpfiles:/usr/bin/systemd-tmpfiles:g' ${pkgdir}/etc/rc.d/functions } # vim:set ts=2 sw=2 et: