nsss: fix musl-devel conflict, disable checking.

grp.h was being installed into /usr/include.

Make nsss-devel depend on nsss and remove nsss dependency from nsss-doc.

Also remove noarch.
This commit is contained in:
Érico Rolim 2020-09-30 00:11:05 -03:00 committed by Érico Nogueira Rolim
parent d8eae2f544
commit f6b7f6719c

View file

@ -1,13 +1,13 @@
# Template file for 'nsss' # Template file for 'nsss'
pkgname=nsss pkgname=nsss
version=0.0.2.2 version=0.0.2.2
revision=1 revision=2
# Only available for musl # Only available for musl
archs="*-musl" archs="*-musl"
build_style=configure build_style=configure
configure_args="--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps configure_args="--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib --enable-shared --libdir=/usr/lib --with-lib=${XBPS_CROSS_BASE}/usr/lib --enable-shared --libdir=/usr/lib
--bindir=/usr/bin --dynlibdir=/usr/lib" --bindir=/usr/bin --dynlibdir=/usr/lib --includedir=/usr/include/nsss"
makedepends="skalibs-devel" makedepends="skalibs-devel"
short_desc="Minimal competing implementation of glibc's Name Switch Service" short_desc="Minimal competing implementation of glibc's Name Switch Service"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
@ -17,6 +17,10 @@ changelog="https://skarnet.org/software/nsss/upgrade.html"
distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz" distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz"
checksum=3345d76155b6a5d55b13b30cfecb0b9a21fd1264164f5f48b1c3eca57849a12a checksum=3345d76155b6a5d55b13b30cfecb0b9a21fd1264164f5f48b1c3eca57849a12a
do_check() {
: #checkdepends=s6, creates dependency cycle
}
post_install() { post_install() {
vlicense COPYING vlicense COPYING
vdoc README vdoc README
@ -24,9 +28,7 @@ post_install() {
} }
nsss-doc_package() { nsss-doc_package() {
archs=noarch
short_desc+=" - documentation" short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/share/doc vmove usr/share/doc
} }
@ -34,6 +36,7 @@ nsss-doc_package() {
nsss-devel_package() { nsss-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.a" vmove "usr/lib/*.a"