# Description: Trivial DataBase similar to gdbm
# URL: https://tdb.samba.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: python3

name=tdb
version=1.4.10
release=1
source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz
	$name-man-pages.tar.xz)

build() {
	cd $name-$version

	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install

	install -d $PKG/usr/share/man/man8
	install -m 0644 $SRC/tdb[!-]*.8 $PKG/usr/share/man/man8
}
