summaryrefslogtreecommitdiff
path: root/system/help2man/APKBUILD
blob: 822ae754ed6caa2be739ef43186a17b8a1dc7e6e (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=help2man
pkgver=1.47.12
pkgrel=0
pkgdesc="Create simple man pages from --help output"
url="https://www.gnu.org/software/help2man"
arch="noarch"
options="!check"  # No test suite
license="GPL-3.0+"
depends="perl"
makedepends="gettext-tiny"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/help2man/help2man-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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

sha512sums="fb71e48e4a7a0f4316148295ea539b667a131149f4467da0f3e283389c9d9f2a5f1e9124ca8d64d6c3250d332a713d4e8de204ca9e7088840e74f316fa5221be  help2man-1.47.12.tar.xz"