void-packages/srcpkgs/zchunk/template

26 lines
703 B
Bash
Raw Normal View History

2018-08-11 18:51:03 +00:00
# Template file for 'zchunk'
pkgname=zchunk
2018-08-12 18:46:36 +00:00
version=0.9.7
2018-08-11 18:51:03 +00:00
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libcurl-devel libzstd-devel"
short_desc="Compressed file format that splits the file into independent chunks"
maintainer="cr6git <quark6@protonmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/zchunk/zchunk"
distfiles="https://github.com/zchunk/zchunk/archive/${version}.tar.gz"
2018-08-12 18:46:36 +00:00
checksum=5a652c2bf4bc9d266bbb3bea4411c96bdf41ad8830890cff97590ab22c72e9a2
2018-08-11 18:51:03 +00:00
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone"
LDFLAGS="-largp"
;;
esac
post_install() {
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
vlicense LICENSE
}