blob: 3f644d82bc8b54fb5fe6c897b3d2bba35e1d955f (
plain)
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
|
# Maintainer: John Vogel <jvogel4@stny.rr.com>
pkgname=dbm_dump
pkgver=1.3
pkgrel=0
pkgdesc="openbsd's dbm_dump - function to dump mandoc database"
url="https://mandoc.bsd.lv/"
arch="all"
license="ISC"
makedepends="mandoc-dev"
subpackages="$pkgname-doc"
source="dbm_dump.c dbm_dump.1"
options="!check"
builddir="$srcdir"
build() {
gcc $CFLAGS -o dbm_dump "$srcdir"/dbm_dump.c \
$LDFLAGS -lmandoc_compat -lmandoc_db -lmandoc
}
package() {
install -D -m 755 -t "$pkgdir/usr/bin" dbm_dump
install -D -m 644 -t "$pkgdir/usr/share/man/man1" "$srcdir"/dbm_dump.1
}
sha512sums="
cc05d8df7f35d281896be827187b5a7e363d132202ca59c693bbbece8959023f84db8a3cd1f9bce6031b72a374935981927165c3aad8bb5d15e55fed9b7b1603 dbm_dump.c
c6e60af1fef5e4a485747a1a0417d0c0142c5cd286931e8335f165c430c18468e772d189f536fd15e21e0a4e1712a48e079f51cf7adbb6b5aed802111a0abc41 dbm_dump.1
"
|