void-packages/srcpkgs/zchunk/template
2019-01-24 23:56:47 -02:00

33 lines
838 B
Bash

# Template file for 'zchunk'
pkgname=zchunk
version=1.0.3
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libcurl-devel libzstd-devel"
short_desc="Easy-to-delta, compressed file format"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/zchunk/zchunk"
distfiles="https://github.com/zchunk/zchunk/archive/${version}.tar.gz"
checksum=728a2fe91057be0646d430cbbf90b8d85e68995e61c27feda311421b51d88298
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone"
LDFLAGS="-largp"
;;
esac
post_install() {
vlicense LICENSE
}
zchunk-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} libressl-devel libzstd-devel"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}