mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
dictd: use vsconf for example config.
This commit is contained in:
parent
f7f7b072e9
commit
1bd9d408ad
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dictd', based on the ArchLinux package by Sergej Pupykin
|
# Template file for 'dictd', based on the ArchLinux package by Sergej Pupykin
|
||||||
pkgname=dictd
|
pkgname=dictd
|
||||||
version=1.12.1
|
version=1.12.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-dictorg --sbindir=/usr/bin --sysconfdir=/etc/dict"
|
configure_args="--enable-dictorg --sbindir=/usr/bin --sysconfdir=/etc/dict"
|
||||||
conf_files="/etc/dict/dictd.conf /etc/dict/site.info"
|
conf_files="/etc/dict/dictd.conf /etc/dict/site.info"
|
||||||
|
@ -20,8 +20,7 @@ post_install() {
|
||||||
vinstall ${FILESDIR}/site.info 644 etc/dict
|
vinstall ${FILESDIR}/site.info 644 etc/dict
|
||||||
vinstall ${FILESDIR}/dictd.xinetd 644 etc/xinetd.d dictd
|
vinstall ${FILESDIR}/dictd.xinetd 644 etc/xinetd.d dictd
|
||||||
vsv dictd
|
vsv dictd
|
||||||
vmkdir usr/share/doc/$pkgname
|
for f in examples/*; do vsconf $f; done
|
||||||
vcopy examples/ usr/share/doc/$pkgname
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dict_package() {
|
dict_package() {
|
||||||
|
@ -38,6 +37,6 @@ dict_package() {
|
||||||
vmove usr/share/man/man1/colorit.1
|
vmove usr/share/man/man1/colorit.1
|
||||||
vmove usr/share/man/man1/dictl.1
|
vmove usr/share/man/man1/dictl.1
|
||||||
vmove usr/share/man/man1/dict_lookup.1
|
vmove usr/share/man/man1/dict_lookup.1
|
||||||
vmove usr/share/doc/dictd/examples/dict1.conf
|
vmove usr/share/examples/dictd/dict1.conf
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue