2008-10-25 01:01:00 +00:00
|
|
|
# Template file for 'man-pages'
|
|
|
|
pkgname=man-pages
|
2013-04-19 19:06:24 +00:00
|
|
|
version=3.51
|
2012-12-21 16:31:37 +00:00
|
|
|
revision=1
|
2013-01-28 17:12:11 +00:00
|
|
|
short_desc="Linux Documentation Project (LDP) manual pages"
|
2008-10-25 01:01:00 +00:00
|
|
|
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"
|
2013-04-19 19:06:24 +00:00
|
|
|
checksum=9363d11fb960b89739ec1c4fa5c24bb52941ba14e0a167cd51f5020d1366dba6
|
2009-02-15 22:57:15 +00:00
|
|
|
|
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
|
|
|
|
2009-08-01 08:38:10 +00:00
|
|
|
# Remove dup manpages.
|
2009-07-31 23:02:19 +00:00
|
|
|
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
|
2009-07-31 23:02:19 +00:00
|
|
|
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
|
2009-07-31 23:02:19 +00:00
|
|
|
rm -f man4/mouse.4
|
2009-08-01 09:03:20 +00:00
|
|
|
# From tzdata.
|
|
|
|
rm -f man5/tzfile.5
|
|
|
|
rm -f man8/zdump.8
|
|
|
|
rm -f man8/tzselect.8
|
|
|
|
rm -f man8/zic.8
|
2009-10-06 01:01:00 +00:00
|
|
|
# From attr-devel.
|
|
|
|
rm -f man2/*xattr.2
|
2009-07-31 23:02:19 +00:00
|
|
|
}
|
2013-04-14 02:24:51 +00:00
|
|
|
|
|
|
|
man-pages_package() {
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|