diff options
| author | John Vogel <jvogel4@stny.rr.com> | 2024-07-07 11:04:55 -0400 |
|---|---|---|
| committer | John Vogel <jvogel4@stny.rr.com> | 2024-07-07 11:05:36 -0400 |
| commit | 02db4af5a25b782ced5d2c44321fb0e091763c52 (patch) | |
| tree | e4771bb295e974f589ef3271fe90cca4dc312968 /dbm_dump/APKBUILD | |
| parent | 3338e5fdfae80928be8b9f5cc33aa4d526cad609 (diff) | |
| download | my-aports-02db4af5a25b782ced5d2c44321fb0e091763c52.tar.gz | |
local/dbm_dump: new aport
From openbsd's regress/usr.bin/mandoc/db/dbm_dump/.
Diffstat (limited to 'dbm_dump/APKBUILD')
| -rw-r--r-- | dbm_dump/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dbm_dump/APKBUILD b/dbm_dump/APKBUILD new file mode 100644 index 0000000..3f644d8 --- /dev/null +++ b/dbm_dump/APKBUILD @@ -0,0 +1,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 +" |
