# Description: A tool for automatically generating simple manual pages from program output.
# URL: https://www.gnu.org/software/help2man/
# Maintainer: John McQuah, jmcquah at disroot dot org

name=help2man
version=1.49.3
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--disable-nls

	make
	make DESTDIR=$PKG install

	rm -r $PKG/usr/share/info

}
