-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
29 lines (27 loc) · 919 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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="${DEBIAN_SITE}/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
}