45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# Template file for 'sqsh-tools'
|
|
pkgname=sqsh-tools
|
|
version=1.3.1
|
|
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="6165a1b59b1db1d14400525a67aaa1a5fca112496c85b50fe6c9ece625035697
|
|
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.*"
|
|
}
|
|
}
|