26 lines
703 B
Bash
26 lines
703 B
Bash
# Template file for 'zchunk'
|
|
pkgname=zchunk
|
|
version=1.0.2
|
|
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=701e5f8b7ba655d3676f876a7b697ca8ce4d9e34f041f8b1d6d18e47c3dad966
|
|
|
|
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
|
|
}
|