void-packages/srcpkgs/freecdb/template
2020-04-17 16:09:00 +02:00

29 lines
939 B
Bash

# Template file for 'freecdb'
pkgname=freecdb
version=0.76
revision=1
build_style=gnu-makefile
short_desc="Creating and reading constant databases"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="Public Domain"
homepage="https://packages.debian.org/source/sid/freecdb"
distfiles="http://http.debian.net/debian/pool/main/f/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=96af85fc35e2a1527ca6e1de7fbebd8b29dbc11ea24f97e48201002c83c20b50
alternatives="
cdb:cdbdump:/usr/bin/${pkgname}dump
cdb:cdbdump.1:/usr/share/man/man1/${pkgname}dump.1
cdb:cdbget:/usr/bin/${pkgname}get
cdb:cdbget.1:/usr/share/man/man1/${pkgname}get.1
cdb:cdbmake:/usr/bin/${pkgname}make
cdb:cdbmake.1:/usr/share/man/man1/${pkgname}make.1
cdb:cdbstats:/usr/bin/${pkgname}stats
cdb:cdbstats.1:/usr/share/man/man1/${pkgname}stats.1
"
do_install() {
for f in dump get make stats; do
vman cdb${f}.1 ${pkgname}${f}.1
vbin cdb${f} ${pkgname}${f}
done
}