void-packages/srcpkgs/man-pages/template

53 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'man-pages'
pkgname=man-pages
2014-10-20 06:59:53 +00:00
version=3.75
2014-09-24 05:34:39 +00:00
revision=1
2014-10-08 19:48:48 +00:00
noarch=yes
2013-01-28 17:12:11 +00:00
short_desc="Linux Documentation Project (LDP) manual pages"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-16 10:22:27 +00:00
license="GPL-2"
2012-06-28 12:23:07 +00:00
homepage="http://man7.org/linux/man-pages/index.html"
distfiles="${KERNEL_SITE}/docs/man-pages/$pkgname-$version.tar.xz"
2014-10-20 06:59:53 +00:00
checksum=06aaca0a3958c3fdae3b3cfc3c2a92d54c2a4ceafad8a6d97f67fda14650d2f6
2012-03-03 20:43:04 +00:00
do_install() {
2011-01-18 23:56:57 +00:00
make all prefix=${DESTDIR}/usr
2010-11-03 00:04:20 +00:00
# Remove dup manpages.
cd ${DESTDIR}/usr/share/man
2011-10-16 10:22:27 +00: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 10:22:27 +00:00
# diffutils
rm -f man1/diff.1
# xf86-input-mouse
rm -f man4/mouse.4
# tzdata
rm -f man5/tzfile.5
rm -f man8/zdump.8
rm -f man8/tzselect.8
rm -f man8/zic.8
# mdocml
rm -f man7/man.7
rm -f man7/mdoc.7
# attr-devel
rm -f man2/*xattr.2
# openssl-devel
mv man3/rand.3 man3/glibc-rand.3
mv man3/err.3 man3/glibc-err.3
}
man-pages-devel_package() {
replaces="${sourcepkg}<3.68_2"
noarch=yes
2014-07-11 18:48:04 +00:00
short_desc+=" - development pages"
pkg_install() {
vmove usr/share/man/man[2-3]
}
}