nsss: add -doc subpkg

This commit is contained in:
maxice8 2018-08-18 16:33:05 -03:00
parent bac1dade82
commit bf6bc264ef
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 13 additions and 1 deletions

1
srcpkgs/nsss-doc Symbolic link
View File

@ -0,0 +1 @@
nsss

View File

@ -1,7 +1,7 @@
# Template file for 'nsss'
pkgname=nsss
version=0.0.1.0
revision=1
revision=2
build_style=configure
configure_args="--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib --enable-shared --libdir=/usr/lib
@ -22,6 +22,17 @@ esac
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
nsss-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}
nsss-devel_package() {