summaryrefslogtreecommitdiffstats
path: root/abs/core/initscripts/PKGBUILD
blob: 370c5f46c63f6bc2e11d90b94cfc409e6effe675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Alexey D. <lq07829icatm@rambler.ru>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Thomas Bächler <thomas@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=initscripts
pkgver=2014.03.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')
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=('f13aab36792429344ff685b64206722d')

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
  #don't use bootlogd
  sed -i 's/bootlogd /#bootlogd /g' ${pkgdir}/etc/rc.sysinit
}

# vim:set ts=2 sw=2 et: