void-packages/srcpkgs/man-pages/template
2010-06-22 23:43:15 +02:00

33 lines
836 B
Text

# Template file for 'man-pages'
pkgname=man-pages
version=3.25
distfiles="${KERNEL_SITE}/docs/manpages/Archive/$pkgname-$version.tar.bz2"
build_style=only-install
make_install_target="all prefix=$XBPS_DESTDIR/$pkgname-$version/usr"
short_desc="Linux Documentation Project manual pages"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8c6f5b234c1a78df5e6cc2b17dfd79afeb96f1736ea25327d4d2ea5565fc03b3
long_desc="
The Linux Documentation Project (LDP) manual pages."
noarch=yes
post_install()
{
# Remove dup manpages.
cd ${DESTDIR}/usr/share/man
# From coreutils
rm -f man1/groups.1
# From shadow.
rm -f man5/passwd.5
rm -f man3/getspnam.3
# From 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
}