39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# 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
|
|
}
|