24 lines
629 B
Bash
24 lines
629 B
Bash
|
# Template file for 'linit'
|
||
|
pkgname=linit
|
||
|
version=0.0.4
|
||
|
revision=1
|
||
|
build_style=gnu-makefile
|
||
|
make_dirs="
|
||
|
/etc/linit 0750 root root
|
||
|
/usr/libexec/linit 0750 root root"
|
||
|
short_desc="Strictly functional init system for Linux"
|
||
|
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
||
|
license="BSD-2-Clause"
|
||
|
homepage="https://gitlab.com/chinstrap/linit"
|
||
|
distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
||
|
checksum=b94840037a8b61dadf538d4887e2263af52844ef06559f3c556b1be51329b844
|
||
|
|
||
|
do_install() {
|
||
|
vbin linit
|
||
|
vbin lreboot
|
||
|
for hook in boot sigint sigpwr; do
|
||
|
vsconf "example-hooks/${hook}"
|
||
|
done
|
||
|
vlicense LICENSE
|
||
|
}
|