summaryrefslogblamecommitdiff
path: root/system/help2man/APKBUILD
blob: 4e137d42ff119d0f2125cd708ed4c8d466579887 (plain) (tree)
































                                                                                                                                                                     
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=help2man
pkgver=1.47.6
pkgrel=1
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="ftp://ftp.gnu.org/gnu/help2man/help2man-$pkgver.tar.xz"

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

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

sha512sums="d24849b93de58b20f518c071687e7bfa653a96600382f36c4cf7fc1047656458f75f093b911b786b18b6931b2453cb60868ecbe07cc7d2984e5981a874b34942  help2man-1.47.6.tar.xz"