blob: c74bf0d6e35d358a1cbfc66deec23583f9f0a034 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=man-db
pkgver=2.8.2
pkgrel=0
pkgdesc="The man command and related utilities for examining on-line help files"
url="http://www.nongnu.org/man-db/"
arch="all"
license="GPL-2.0-or-later"
depends="groff less"
makedepends="db-dev gettext-dev libpipeline-dev zlib-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="http://download.savannah.nongnu.org/releases/man-db/man-db-$pkgver.tar.xz"
triggers="man-db.trigger=/usr/share/man"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-setuid \
--with-sections="1 1p 1x 2 2x 3 3p 3x 4 4x 5 5x 6 6x 7 7x 8 8x 9 0p tcl n l p o" \
--enable-nls \
--with-db=db
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm "${pkgdir}"/usr/lib/charset.alias
rm -r "${pkgdir}"/usr/lib/tmpfiles.d # systemd
}
sha512sums="ffd6c3ba605da419c819dcad10edf713242074a035ce405f4c97dbbd2a7e9b253f82efae1022d08d9f04591014e752ff38a3f8727e5a5cf60d33a9167cc2d8fc man-db-2.8.2.tar.xz"
|