void-packages/srcpkgs/zchunk/template
2018-11-05 11:02:55 +01:00

25 lines
704 B
Bash

# Template file for 'zchunk'
pkgname=zchunk
version=0.9.13
revision=2
build_style=meson
hostmakedepends="pkg-config"
makedepends="libcurl-devel libzstd-devel"
short_desc="Compressed file format that splits the file into independent chunks"
maintainer="Orphaned <orphan@voidlinux.eu>"
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
}