| 1 | # Description: The Linux manpages collection |
| 2 | # URL: http://www.kernel.org/doc/man-pages/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: man |
| 6 | |
| 7 | name=man-pages |
| 8 | version=3.24 |
| 9 | release=1 |
| 10 | source=(http://www.kernel.org/pub/linux/docs/man-pages/$name-$version.tar.bz2 \ |
| 11 | http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2003-a.tar.bz2) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | rm man1/time.1 man5/passwd.5 man2/quotactl.2 |
| 16 | make gz |
| 17 | make MANDIR=/usr/man DESTDIR=$PKG install |
| 18 | |
| 19 | cd ../$name-posix-2003-a |
| 20 | make gz |
| 21 | make MANDIR=/usr/man DESTDIR=$PKG install |
| 22 | touch $PKG/usr/man/whatis |
| 23 | } |