New package: sqsh-tools-1.3.0

This commit is contained in:
Enno Boland 2023-08-28 09:28:35 +02:00 committed by Enno T. Boland
parent 171d5d3c5a
commit af410531cc
4 changed files with 50 additions and 0 deletions

View File

@ -4277,3 +4277,4 @@ libdraco.so.8 draco-1.5.6_1
libpdal_base.so.15 libpdal-2.5.6_1 libpdal_base.so.15 libpdal-2.5.6_1
libpdal_util.so.15 libpdal-2.5.6_1 libpdal_util.so.15 libpdal-2.5.6_1
libdisplay-info.so.1 libdisplay-info-0.1.1_1 libdisplay-info.so.1 libdisplay-info-0.1.1_1
libsqsh.so.1 libsqsh-1.3.0_1

1
srcpkgs/libsqsh Symbolic link
View File

@ -0,0 +1 @@
sqsh-tools

1
srcpkgs/libsqsh-devel Symbolic link
View File

@ -0,0 +1 @@
sqsh-tools

View File

@ -0,0 +1,47 @@
# Template file for 'sqsh-tools'
pkgname=sqsh-tools
version=1.3.0
revision=1
build_style=meson
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/archive/refs/tags/v${version}.tar.gz
https://github.com/Gottox/cextras/archive/36fdb446e11fd4830f93c14340df26c3205d8c33.tar.gz
"
checksum="
660d20cb2360d80f641b0a8b4f28226054b6ce761d88d3b8e35565a854cdb696
9f046157c6837ba9c0c8f30fa4dd120221284a55d9217f07a26d632e0b5fc06f
"
build_wrksrc="sqsh-tools-${version}"
post_extract() {
mkdir -p sqsh-tools-${version}/subprojects
mv cextras-36fdb446e11fd4830f93c14340df26c3205d8c33 \
sqsh-tools-${version}/subprojects
}
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.*"
}
}