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
|
2015-04-08 16:26:44 +00:00
|
|
|
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"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-07-31 11:13:55 +00:00
|
|
|
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"
|
|
|
|
|
2014-07-28 13:51:45 +00:00
|
|
|
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
|
|
|
|
2014-07-30 08:31:31 +00:00
|
|
|
post_install() {
|
|
|
|
vconf ${XBPS_SRCPKGDIR}/systemd/files/hostname
|
|
|
|
vconf ${XBPS_SRCPKGDIR}/systemd/files/os-release
|
|
|
|
vconf ${XBPS_SRCPKGDIR}/systemd/files/locale.conf
|
2015-01-27 08:49:00 +00:00
|
|
|
# Enable services at post-install time instead.
|
2015-04-08 16:24:59 +00:00
|
|
|
rm -f ${DESTDIR}/etc/runit/runsvdir/current
|
2015-01-27 08:49:00 +00:00
|
|
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
|
|
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/single
|
2014-07-30 08:31:31 +00:00
|
|
|
}
|