1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/man-db/APKBUILD
2023-02-23 05:03:26 +01:00

44 lines
1.2 KiB
Text

# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer:
pkgname=man-db
pkgver=2.11.2
pkgrel=0
pkgdesc="The man command and related utilities for examining on-line help files"
url="https://nongnu.org/man-db/"
arch="all"
license="GPL-2.0-or-later"
depends="groff less !mandoc !mandoc-apropos"
makedepends="gdbm-dev gettext-dev libpipeline-dev zlib-dev libseccomp-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.savannah.nongnu.org/releases/man-db/man-db-$pkgver.tar.xz"
triggers="man-db.trigger=/usr/share/man"
# allow main/mandoc to provide this first
provides="doc-provider"
provider_priority=10
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 3const 3head 3type 3x 4 4x 5 5x 6 6x 7 7x 8 8x 9 0p tcl n l p o" \
--enable-nls \
--with-db=gdbm \
--with-systemdsystemunitdir=no \
--with-systemdtmpfilesdir=no \
--with-libseccomp
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
edb71cce7249c7b7f2f524e92f682047a77ed9ae8856763dfc8e18e239444651ff4c505e697f5a8b1be3b85678e714fbb1a520defe72a4eb685bc2cecc0e4391 man-db-2.11.2.tar.xz
"