core/man-pages/Pkgfile

24 lines
657 B
Plaintext

# Description: The Linux manpages collection
# URL: http://man7.org/linux/man-pages/index.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: man
name=man-pages
version=3.35
release=1
source=(http://man7.org/linux/man-pages/download/$name-$version.tar.gz \
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
}