nsss: add -doc subpkg
This commit is contained in:
parent
bac1dade82
commit
bf6bc264ef
|
@ -0,0 +1 @@
|
|||
nsss
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue