summaryrefslogblamecommitdiff
path: root/system/help2man/APKBUILD
blob: f3c238fc6d4aa93deabc91df862ef10174468d67 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                 

             







                                                    
                                                                 


















                                           
                                                                                                                                                                     
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=help2man
pkgver=1.47.8
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() {
	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="05e420560b143042418db2e992beaef45cc5a568cdbf640c7b285ba2dc322290d14e0df978ff4c412a99f4346e38f6fb9796ebda695ddc002a3d0e74e85725d6  help2man-1.47.8.tar.xz"