mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/man-db: new aport
This commit is contained in:
parent
38febd09e9
commit
47c2cf699e
41
testing/man-db/APKBUILD
Normal file
41
testing/man-db/APKBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Contributor: A. Wilcox <awilfox@adelielinux.org>
|
||||
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
|
||||
pkgname=man-db
|
||||
pkgver=2.7.6.1
|
||||
pkgrel=1
|
||||
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+"
|
||||
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
|
||||
man-db.trigger"
|
||||
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="623c5e7f8b7c289908b2c926f8777293b8d39aeceef0d2509d701a8b0bfa81408650f655c8608318221786c751a79ee91124b07993de5298cd7fa6d8bb737301 man-db-2.7.6.1.tar.xz
|
||||
0d2ab0b42888178ffb83c5dd5eaac8005f047de56af55eb3046291318fd8ed8c4999a4ea0148367ea07c0a0490eb8b9bc726a03b46533ef51bec6a5747719b64 man-db.trigger"
|
||||
3
testing/man-db/man-db.trigger
Normal file
3
testing/man-db/man-db.trigger
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/mandb /usr/share/man
|
||||
Loading…
x
Reference in New Issue
Block a user