void-packages/srcpkgs/man-pages/template

44 lines
1003 B
Plaintext
Raw Normal View History

# Template file for 'man-pages'
pkgname=man-pages
2013-08-29 19:08:11 +02:00
version=3.53
2012-12-21 17:31:37 +01:00
revision=1
2013-01-28 18:12:11 +01:00
short_desc="Linux Documentation Project (LDP) manual pages"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-16 12:22:27 +02:00
license="GPL-2"
2012-06-28 14:23:07 +02:00
homepage="http://man7.org/linux/man-pages/index.html"
distfiles="${KERNEL_SITE}/docs/man-pages/$pkgname-$version.tar.xz"
2013-08-29 19:08:11 +02:00
checksum=d4764d8225d73fd3ca9202b73da0ab52614faa8e727c45cd5ec715c3b393f34f
2012-03-03 21:43:04 +01:00
do_install() {
2011-01-19 00:56:57 +01:00
make all prefix=${DESTDIR}/usr
2010-11-03 01:04:20 +01:00
# Remove dup manpages.
cd ${DESTDIR}/usr/share/man
2011-10-16 12:22:27 +02:00
# 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
2011-10-16 12:22:27 +02:00
# 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
}
}