void-packages/srcpkgs/sqsh-tools/template

36 lines
885 B
Bash

# Template file for 'sqsh-tools'
pkgname=sqsh-tools
version=1.4.0
revision=1
build_style=meson
build_helper=qemu
makedepends="libcurl-devel zlib-devel liblz4-devel liblzma-devel libzstd-devel
fuse3-devel"
short_desc="Fresh squashfs implementation"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://gottox.de/sqsh-tools/"
distfiles="https://github.com/Gottox/sqsh-tools/releases/download/v${version}/sqsh-tools-${version}.tar.gz"
checksum=16cfeb1567dc56fcec291bfdac1f823c60841780c6d1e27b1e0f1826cea4640e
post_install() {
vlicense LICENSE
}
libsqsh-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/libsqsh.a"
}
}
libsqsh_package() {
pkg_install() {
vmove "usr/lib/libsqsh.so.*"
}
}