2014-04-25 23:24:36 +02:00
|
|
|
# Template file for 'runit-void'
|
|
|
|
pkgname=runit-void
|
2015-02-02 12:26:31 +01:00
|
|
|
version=20150202
|
2015-01-28 17:17:16 +01:00
|
|
|
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>"
|
2014-07-31 13:13:55 +02:00
|
|
|
license="Public Domain"
|
2014-04-25 23:24:36 +02:00
|
|
|
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2014-08-26 12:44:50 +02:00
|
|
|
depends="runit"
|
2015-01-16 09:37:20 +01:00
|
|
|
conf_files="/etc/hostname /etc/locale.conf /etc/rc.conf /etc/rc.local /etc/rc.shutdown"
|
2014-07-28 15:51:45 +02:00
|
|
|
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}
|
|
|
|
}
|
2014-07-30 10:31:31 +02: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 09:49:00 +01:00
|
|
|
# Enable services at post-install time instead.
|
|
|
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/default
|
|
|
|
rm -rf ${DESTDIR}/etc/runit/runsvdir/single
|
2014-07-30 10:31:31 +02:00
|
|
|
}
|