man-db 2.12.1-1

This commit is contained in:
xhaa123 2024-09-07 23:18:11 +08:00
parent 533b53b980
commit 7a581577df

38
man-db/PKGBUILD Normal file
View File

@ -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 <future_linux@163.com>
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
}