From 7a581577dfd6e55051baf4f2385b4839be5dd490 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] man-db 2.12.1-1 --- man-db/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 man-db/PKGBUILD diff --git a/man-db/PKGBUILD b/man-db/PKGBUILD new file mode 100644 index 0000000..185e6a0 --- /dev/null +++ b/man-db/PKGBUILD @@ -0,0 +1,38 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=man-db +pkgver=2.12.1 +pkgrel=1 +pkgdesc="A utility for reading man pages" +arch=('x86_64') +url="https://www.nongnu.org/man-db/" +license=('GPL' 'LGPL') +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=(ddee249daeb78cf92bab794ccd069cc8b575992265ea20e239e887156e880265) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --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 + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}