void-packages/srcpkgs/man-pages/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

40 lines
1,004 B
Text

# Template file for 'man-pages'
pkgname=man-pages
version=3.35
homepage="http://man7.org/linux/man-pages/index.html"
distfiles="http://man7.org/linux/man-pages/download/$pkgname-$version.tar.gz"
short_desc="Linux Documentation Project manual pages"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=7ed4d47f976ef0da3e3d393b7fad3634a9a54c2007a3212c625d8bd00f583df4
long_desc="
The Linux Documentation Project (LDP) manual pages."
noarch=yes
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
}