# Contributor: A. Wilcox # Maintainer: Leo pkgname=man-db pkgver=2.9.1 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="ae2d1e9f293795c63f5a9a1a765478a9a59cbe5fe6f759647be5057c1ae53f90baee8d5467921f3d0102300f2111a5026eeb25f78401bcb16ce45ad790634977 man-db-2.9.1.tar.xz"