void-packages/srcpkgs/zchunk/template
2018-09-19 06:45:24 +02:00

25 lines
704 B
Bash

# Template file for 'zchunk'
pkgname=zchunk
version=0.9.10
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=63c773fb8f248982e73e953d3aa3bf0963d4ab4925a492fa63931836c3493343
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
}