void-packages/srcpkgs/runit-void/template

29 lines
847 B
Plaintext
Raw Normal View History

2014-04-25 23:24:36 +02:00
# Template file for 'runit-void'
pkgname=runit-void
version=20150202
revision=1
2014-04-26 10:46:25 +02:00
build_style=gnu-makefile
2014-04-25 23:24:36 +02:00
homepage="http://www.voidlinux.eu"
2014-06-02 12:44:33 +02:00
short_desc="Void Linux runit scripts"
2014-04-25 23:24:36 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public Domain"
2014-04-25 23:24:36 +02:00
hostmakedepends="git"
depends="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
2014-07-25 15:12:28 +02:00
/etc/zzz.d/resume 0755 root root"
2014-04-25 23:24:36 +02:00
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
}