# Template file for 'bsdunzip'
pkgname=bsdunzip
version=20160115
revision=2
build_style=gnu-makefile
makedepends="libarchive-devel"
short_desc="Libarchive(3)-utilizing unzip implementation from FreeBSD"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause, ISC"
homepage="https://github.com/somasis/bsdunzip"
distfiles="https://github.com/somasis/bsdunzip/archive/${version}.tar.gz"
checksum=06c52c77fa518732665aa2daa73f364cd2470a5d47a83c9c79f86f207cf3ecc1

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
	makedepends+=" musl-legacy-compat"
fi

post_install() {
	vlicense LICENSE
}
