runit-void: provide /etc/{hostname,locale.conf,os-release} files (close #500).

This commit is contained in:
Juan RP 2014-07-30 10:31:31 +02:00
parent 1b61ca5632
commit 42914174cb
1 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20140729
revision=3
version=20140730
revision=1
build_style=gnu-makefile
homepage="http://www.voidlinux.eu"
short_desc="Void Linux runit scripts"
@ -11,7 +11,7 @@ license="Public domain"
hostmakedepends="git"
makedepends="runit"
depends="${makedepends}"
conf_files="/etc/rc.conf /etc/rc.local"
conf_files="/etc/hostname /etc/locale.conf /etc/rc.conf /etc/rc.local"
make_dirs="
/etc/zzz.d/suspend 0755 root root
/etc/zzz.d/resume 0755 root root"
@ -19,3 +19,8 @@ make_dirs="
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
}