fs-utils: fix xlint, add archs=~*-musl

The package uses various glibc specific headers and won't build for *-musl.
The LICENSE files is missing in the archive so download from github.com.
This commit is contained in:
Jürgen Buchmüller 2020-09-05 12:27:38 +02:00
parent 3ee0297459
commit 85b1ed6d69

View file

@ -1,7 +1,8 @@
# Template file for 'fs-utils'.
pkgname=fs-utils
version=1.10
revision=1
revision=2
archs="~*-musl"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="netbsd-rumpkernel-devel"
@ -9,5 +10,12 @@ short_desc="NetBSD File System Access Utilities in Userland"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD"
homepage="https://github.com/rumpkernel/fs-utils"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=0f63aa92f673f290d4bca9009ca6f213e70ac70519c5cdac3fa64acf5afa5bae
distfiles="$homepage/archive/v$version.tar.gz
https://raw.githubusercontent.com/rumpkernel/fs-utils/master/LICENSE"
checksum="0f63aa92f673f290d4bca9009ca6f213e70ac70519c5cdac3fa64acf5afa5bae
228892fd0f669ee3051aee19f8660e4719bee9bd70c1b02adcaee518d4155866"
skip_extraction="LICENSE"
post_install() {
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE
}