zchunk: add devel subpackage

This commit is contained in:
prspkt 2019-01-02 08:18:37 +02:00 committed by maxice8
parent 7c3589fd17
commit fdaa76e8a0
3 changed files with 14 additions and 4 deletions

View File

@ -3367,3 +3367,4 @@ libgetdns.so.10 getdns-1.5.0_1
libgetdns_ext_event.so.10 getdns-1.5.0_1
libgetdns_ext_ev.so.10 getdns-1.5.0_1
libgetdns_ext_uv.so.10 getdns-1.5.0_1
libzck.so.1 zchunk-1.0.2_2

1
srcpkgs/zchunk-devel Symbolic link
View File

@ -0,0 +1 @@
zchunk

View File

@ -1,11 +1,11 @@
# Template file for 'zchunk'
pkgname=zchunk
version=1.0.2
revision=1
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"
short_desc="Easy-to-delta, compressed file format"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="BSD-2-Clause"
homepage="https://github.com/zchunk/zchunk"
@ -19,7 +19,15 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_install() {
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
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
}
}