void-packages/srcpkgs/zchunk/template

26 lines
704 B
Bash

# Template file for 'zchunk'
pkgname=zchunk
version=0.9.13
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"
checksum=f95e26864e2e0c15b7ee7d15b2601bcad0401b3a748233ae663de34cda4d67cd
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
}