aboutsummaryrefslogtreecommitdiffstats
path: root/community/man-db/APKBUILD
blob: b681d8a04f8d6ff8d806b66beee7ac5827c695b8 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=man-db
pkgver=2.9.0
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 libseccomp-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() {
	./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 \
		--with-systemdsystemunitdir=no \
		--with-systemdtmpfilesdir=no \
		--with-libseccomp
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7deb4421c7944276c6edf974b1336ee2f6605ee470c98d374544e2fcaa32ec2afe077c5fd020fc1f74df058384a293b8ad5a92d86b1c15a949573af46ba09cda  man-db-2.9.0.tar.xz"