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
|
||||
pkgname=dictd
|
||||
version=1.12.1
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-dictorg --sbindir=/usr/bin --sysconfdir=/etc/dict"
|
||||
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}/dictd.xinetd 644 etc/xinetd.d dictd
|
||||
vsv dictd
|
||||
vmkdir usr/share/doc/$pkgname
|
||||
vcopy examples/ usr/share/doc/$pkgname
|
||||
for f in examples/*; do vsconf $f; done
|
||||
}
|
||||
|
||||
dict_package() {
|
||||
|
@ -38,6 +37,6 @@ dict_package() {
|
|||
vmove usr/share/man/man1/colorit.1
|
||||
vmove usr/share/man/man1/dictl.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…
Reference in a new issue