34 lines
951 B
Plaintext
34 lines
951 B
Plaintext
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
|
|
}
|