void-packages/srcpkgs/runit-void/template

29 lines
847 B
Text
Raw Normal View History

2014-04-25 21:24:36 +00:00
# Template file for 'runit-void'
pkgname=runit-void
2015-02-26 16:56:30 +00:00
version=20150226
2015-02-26 17:08:22 +00:00
revision=2
2014-04-26 08:46:25 +00:00
build_style=gnu-makefile
2014-04-25 21:24:36 +00:00
homepage="http://www.voidlinux.eu"
2014-06-02 10:44:33 +00:00
short_desc="Void Linux runit scripts"
2014-04-25 21:24:36 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public Domain"
2014-04-25 21:24:36 +00: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 13:12:28 +00:00
/etc/zzz.d/resume 0755 root root"
2014-04-25 21:24:36 +00: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
}