2008-10-25 03:01:00 +02:00
|
|
|
# Template file for 'man-pages'
|
|
|
|
pkgname=man-pages
|
2015-01-11 08:37:13 +01:00
|
|
|
version=3.77
|
2014-12-31 13:37:40 +01:00
|
|
|
revision=1
|
2014-10-08 21:48:48 +02:00
|
|
|
noarch=yes
|
2013-01-28 18:12:11 +01:00
|
|
|
short_desc="Linux Documentation Project (LDP) manual pages"
|
2008-10-25 03:01:00 +02:00
|
|
|
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"
|
2015-01-11 08:37:13 +01:00
|
|
|
checksum=fc630f063b4671cece6cffee47d0ad25b871219ffba8bf2784f084512af5954f
|
2009-02-15 23:57:15 +01:00
|
|
|
|
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
|
|
|
|
2009-08-01 10:38:10 +02:00
|
|
|
# Remove dup manpages.
|
2009-08-01 01:02:19 +02:00
|
|
|
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
|
2009-08-01 01:02:19 +02:00
|
|
|
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
|
2009-08-01 01:02:19 +02:00
|
|
|
rm -f man4/mouse.4
|
2014-03-29 13:24:52 +01:00
|
|
|
# tzdata
|
2009-08-01 11:03:20 +02:00
|
|
|
rm -f man5/tzfile.5
|
|
|
|
rm -f man8/zdump.8
|
|
|
|
rm -f man8/tzselect.8
|
|
|
|
rm -f man8/zic.8
|
2014-09-22 13:39:04 +02:00
|
|
|
# mdocml
|
|
|
|
rm -f man7/man.7
|
|
|
|
rm -f man7/mdoc.7
|
2014-03-29 13:24:52 +01:00
|
|
|
# attr-devel
|
2009-10-06 03:01:00 +02:00
|
|
|
rm -f man2/*xattr.2
|
2014-03-29 13:24:52 +01:00
|
|
|
# openssl-devel
|
|
|
|
mv man3/rand.3 man3/glibc-rand.3
|
|
|
|
mv man3/err.3 man3/glibc-err.3
|
2014-12-29 13:03:15 +01:00
|
|
|
# Rename some glibc specific manpages
|
|
|
|
mv man1/{iconv.1,glibc-iconv.1}
|
|
|
|
mv man1/{ldd.1,glibc-ldd.1}
|
|
|
|
mv man1/{getent.1,glibc-getent.1}
|
2009-08-01 01:02:19 +02:00
|
|
|
}
|
2014-06-02 12:21:21 +02:00
|
|
|
|
|
|
|
man-pages-devel_package() {
|
|
|
|
replaces="${sourcepkg}<3.68_2"
|
|
|
|
noarch=yes
|
2014-07-11 20:48:04 +02:00
|
|
|
short_desc+=" - development pages"
|
2014-06-02 12:21:21 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/man/man[2-3]
|
|
|
|
}
|
|
|
|
}
|