aboutsummaryrefslogtreecommitdiffstats
path: root/pony-initialisation/PKGBUILD
blob: b314a6266fa37f430bafef74861a62fa778695d2 (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=pony-initialisation
pkgver=1381025241
pkgrel=2
pkgdesc="System bootup scripts for sysvinit"
url="https://github.com/GNU-Pony/pony-initialisation"
arch=(any)
license=(GPL3)
backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown)
depends=(glibc bash coreutils iproute2 ncurses kbd findutils)
makedepends=("dhcpcd: DHCP network configuration"
	     "bridge-utils: Network bridging support"
	     "net-tools: Network support"
	     "wireless_tools: Wireless networking"
	     "sysvinit: SysV init support"
	     "systemd: new crypttab format support")
provides=(initscripts initscripts-fork)
conflicts=(initscripts initscripts-fork)
makedepends=(make coreutils grep sed asciidoc texinfo gzip)
install=pony-initialisation.install
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=(56cfd3d3e13f0507d251c34079fc57f301e11934ff9ddecc9591798691a00c62)


build() {
	cd "${srcdir}/pony-initialisation-${pkgver}"
	make DESTDIR="${pkgdir}" PREFIX= LIBEXEC=/lib DATA=/usr/share info completion/{bash,zsh}-completion.install
}

package() {
	cd "${srcdir}/pony-initialisation-${pkgver}"
	make -j1 DESTDIR="${pkgdir}" PREFIX= LIBEXEC=/lib DATA=/usr/share install install_systemdcompatlayer install_all_daemons
	_dir="${pkgdir}/usr/share/licenses/${pkgname}"
	ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
}