void-packages/srcpkgs/runit-void/template

39 lines
1.1 KiB
Bash
Raw Normal View History

2014-04-25 21:24:36 +00:00
# Template file for 'runit-void'
pkgname=runit-void
2015-04-07 19:54:30 +00:00
version=20150407
revision=3
2015-04-02 10:37:37 +00:00
wrksrc="void-runit-${version}"
2015-03-22 06:13:36 +00:00
build_pie=yes
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"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public Domain"
2015-04-02 10:37:37 +00:00
distfiles="https://github.com/voidlinux/void-runit/archive/${version}.tar.gz"
2015-04-07 19:54:30 +00:00
checksum=369742c4a335fab9f4cbe81816a0ec8653db473d52480bce1b6fe3304c91a296
2014-04-25 21:24:36 +00:00
2015-03-17 15:54:59 +00:00
depends="virtual?awk procps-ng runit"
2015-04-02 10:37:37 +00:00
conf_files="
/etc/hostname
/etc/locale.conf
/etc/rc.conf
/etc/rc.local
/etc/rc.shutdown
/etc/sv/agetty-console/conf
/etc/sv/agetty-serial/conf
/etc/sv/agetty-tty1/conf"
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
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 -f ${DESTDIR}/etc/runit/runsvdir/current
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
rm -rf ${DESTDIR}/etc/runit/runsvdir/single
}