# Contributor: A. Wilcox # Maintainer: Leo pkgname=man-db pkgver=2.8.7 pkgrel=0 pkgdesc="The man command and related utilities for examining on-line help files" url="http://www.nongnu.org/man-db/" arch="all" license="GPL-2.0-or-later" depends="groff less" makedepends="db-dev gettext-dev libpipeline-dev zlib-dev libseccomp-dev" subpackages="$pkgname-lang $pkgname-doc" source="http://download.savannah.nongnu.org/releases/man-db/man-db-$pkgver.tar.xz" triggers="man-db.trigger=/usr/share/man" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-setuid \ --with-sections="1 1p 1x 2 2x 3 3p 3x 4 4x 5 5x 6 6x 7 7x 8 8x 9 0p tcl n l p o" \ --enable-nls \ --with-db=db \ --with-systemdsystemunitdir=no \ --with-systemdtmpfilesdir=no \ --with-libseccomp make } package() { make DESTDIR="$pkgdir" install } sha512sums="9f9d6f3b776c0b35f95c179fb668f2dc3db3d3e63a162cfda98c5d126fe147f2418e1a1503037ebe28314f57d9b6f48b7f7674d611df14424973a866a61ff2d9 man-db-2.8.7.tar.xz"