core/man-pages/Pkgfile

24 lines
658 B
Plaintext

# Description: The Linux manpages collection
# URL: http://www.kernel.org/doc/man-pages/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: man
name=man-pages
version=3.31
release=1
source=(http://www.kernel.org/pub/linux/docs/man-pages/$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=/usr/man DESTDIR=$PKG install
cd ../$name-posix-2003-a
make gz
make MANDIR=/usr/man DESTDIR=$PKG install
touch $PKG/usr/man/whatis
}