29 lines
869 B
Plaintext
29 lines
869 B
Plaintext
# Template file for 'runit-void'
|
|
pkgname=runit-void
|
|
version=20150317
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
homepage="http://www.voidlinux.eu"
|
|
short_desc="Void Linux runit scripts"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="Public Domain"
|
|
|
|
hostmakedepends="git"
|
|
depends="virtual?awk procps-ng runit"
|
|
conf_files="/etc/hostname /etc/locale.conf /etc/rc.conf /etc/rc.local /etc/rc.shutdown"
|
|
make_dirs="
|
|
/etc/zzz.d/suspend 0755 root root
|
|
/etc/zzz.d/resume 0755 root root"
|
|
|
|
do_fetch() {
|
|
git clone git://github.com/voidlinux/runit-void ${pkgname}-${version}
|
|
}
|
|
post_install() {
|
|
vconf ${XBPS_SRCPKGDIR}/systemd/files/hostname
|
|
vconf ${XBPS_SRCPKGDIR}/systemd/files/os-release
|
|
vconf ${XBPS_SRCPKGDIR}/systemd/files/locale.conf
|
|
# Enable services at post-install time instead.
|
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/single
|
|
}
|