update to 12.4-systemd: man-db-2.13.1
This commit is contained in:
33
lfs/man-db-2.13.1.PKGBUILD
Normal file
33
lfs/man-db-2.13.1.PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
pkgname="man-db"
|
||||
pkgver="2.13.1"
|
||||
pkgdesc="A utility for reading man pages"
|
||||
arch=("x86_64")
|
||||
homepage="https://www.nongnu.org/man-db/"
|
||||
lisence=('GPL-2.0-or-later AND GPL-3.0-or-later')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.savannah.gnu.org/releases/${pkgname}/${sources[0]}")
|
||||
md5sums=("b6335533cbeac3b24cd7be31fdee8c83")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--docdir=/usr/share/doc/man-db-${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
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
Reference in New Issue
Block a user