mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
runit-void: provide /etc/{hostname,locale.conf,os-release} files (close #500).
This commit is contained in:
parent
1b61ca5632
commit
42914174cb
1 changed files with 8 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit-void'
|
# Template file for 'runit-void'
|
||||||
pkgname=runit-void
|
pkgname=runit-void
|
||||||
version=20140729
|
version=20140730
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
short_desc="Void Linux runit scripts"
|
short_desc="Void Linux runit scripts"
|
||||||
|
@ -11,7 +11,7 @@ license="Public domain"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
makedepends="runit"
|
makedepends="runit"
|
||||||
depends="${makedepends}"
|
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="
|
make_dirs="
|
||||||
/etc/zzz.d/suspend 0755 root root
|
/etc/zzz.d/suspend 0755 root root
|
||||||
/etc/zzz.d/resume 0755 root root"
|
/etc/zzz.d/resume 0755 root root"
|
||||||
|
@ -19,3 +19,8 @@ make_dirs="
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
git clone git://github.com/voidlinux/runit-void ${pkgname}-${version}
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue