summaryrefslogtreecommitdiff
path: root/manualPorts/help2man/Pkgfile
blob: aab33207f4b4f197598cd4f7a78c2ce34d516a78 (plain)
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
# Description: A tool for automatically generating simple manual pages from program output.
# URL: http://www.gnu.org/software/help2man/
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: Danny Rawlins, crux at romster dot me
# Packager: Younes Hafri, ycrux at club-internet dot fr

name=help2man
version=1.47.10
release=1
source=(http://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 -rf $PKG/usr/share/info

	rmdir \
		$PKG/usr/lib/help2man \
		$PKG/usr/lib
}