25 lines
704 B
Bash
25 lines
704 B
Bash
# Template file for 'zchunk'
|
|
pkgname=zchunk
|
|
version=0.9.17
|
|
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="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=5d337decd64333d900a5b57d443b731324ec3a6a0d34e170c41d9e19a6cdcfbd
|
|
|
|
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
|
|
}
|