44 lines
1003 B
Plaintext
44 lines
1003 B
Plaintext
# Template file for 'man-pages'
|
|
pkgname=man-pages
|
|
version=3.52
|
|
revision=1
|
|
short_desc="Linux Documentation Project (LDP) manual pages"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://man7.org/linux/man-pages/index.html"
|
|
distfiles="${KERNEL_SITE}/docs/man-pages/$pkgname-$version.tar.xz"
|
|
checksum=1d712f128024cf1ab89cd4a1ace973b8999ca40ff3f1502b20e7eb208791a0ca
|
|
|
|
do_install() {
|
|
make all prefix=${DESTDIR}/usr
|
|
|
|
# Remove dup manpages.
|
|
cd ${DESTDIR}/usr/share/man
|
|
# coreutils
|
|
rm -f man1/{chgrp,chmod,chown,cp,dir,dd}.1
|
|
rm -f man1/{df,dircolors,du,install,ln,ls}.1
|
|
rm -f man1/{mkdir,mkfifo,mknod,mv,rm,rmdir}.1
|
|
rm -f man1/{touch,vdir}.1
|
|
# shadow
|
|
rm -f man5/passwd.5
|
|
rm -f man3/getspnam.3
|
|
# diffutils
|
|
rm -f man1/diff.1
|
|
# xf86-input-mouse
|
|
rm -f man4/mouse.4
|
|
# From tzdata.
|
|
rm -f man5/tzfile.5
|
|
rm -f man8/zdump.8
|
|
rm -f man8/tzselect.8
|
|
rm -f man8/zic.8
|
|
# From attr-devel.
|
|
rm -f man2/*xattr.2
|
|
}
|
|
|
|
man-pages_package() {
|
|
noarch="yes"
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|