man-pages: split development manual pages (glibc specific too) into -devel subpkg.

This commit is contained in:
Juan RP 2014-06-02 12:21:21 +02:00
parent 34636f9673
commit e7bee4d61a
2 changed files with 11 additions and 1 deletions

1
srcpkgs/man-pages-devel Symbolic link
View file

@ -0,0 +1 @@
man-pages

View file

@ -1,7 +1,7 @@
# Template file for 'man-pages'
pkgname=man-pages
version=3.68
revision=1
revision=2
noarch="yes"
short_desc="Linux Documentation Project (LDP) manual pages"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -38,3 +38,12 @@ do_install() {
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
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man[2-3]
}
}