summaryrefslogtreecommitdiffstats
path: root/man-pages/Pkgfile
blob: 48d7417ade39085155d90ae2d66809188c7b53ed (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
description="The Linux manpages collection."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.kernel.org/doc/man-pages/"
depends=(man)

name=man-pages
version=3.32
release=1
source=(
	http://www.kernel.org/pub/linux/docs/$name/$name-$version.tar.bz2
	http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2003-a.tar.bz2
)
build () 
{ 
	cd $name-$version;
	rm man1/time.1 man5/passwd.5 man2/quotactl.2;
	make gz;
	make MANDIR=$mandir DESTDIR=$PKG install;
	cd ../$name-posix-2003-a;
	make gz;
	make MANDIR=$mandir DESTDIR=$PKG install;
	touch $PKG$mandir/whatis
}