summaryrefslogtreecommitdiffstats
path: root/man-pages/Pkgfile.old
blob: 721b10e08bf64e2e1b8a6337163c55f73e61f735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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.32
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
}