pkgname=man-db pkgver=2.13.0 pkgrel=1 pkgdesc="A utility for reading man pages" arch=('x86_64') url="https://www.nongnu.org/man-db/" license=('GPL-2.0-or-later AND GPL-3.0-or-later') depends=('bash' 'gdbm' 'zlib' 'groff' 'libpipeline' 'less' 'glibc') backup=(etc/man_db.conf) source=(https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz) sha256sums=(82f0739f4f61aab5eb937d234de3b014e777b5538a28cbd31433c45ae09aefb9) build() { cd ${pkgname}-${pkgver} local configure_args=( --docdir=/usr/share/doc/${pkgname}-${pkgver} --sysconfdir=/etc --disable-setuid --enable-cache-owner=bin --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }