From 65ae8d9bd04cf61a081fb9e3a8c1f4273dfbe5ee Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 28 Aug 2023 09:28:35 +0200 Subject: [PATCH] New package: libsqsh-1.2.0 --- common/shlibs | 1 + srcpkgs/libsqsh-devel | 1 + srcpkgs/libsqsh/template | 34 ++++++++++++++++++++++++++++++++++ srcpkgs/sqsh-tools | 1 + 4 files changed, 37 insertions(+) create mode 120000 srcpkgs/libsqsh-devel create mode 100644 srcpkgs/libsqsh/template create mode 120000 srcpkgs/sqsh-tools diff --git a/common/shlibs b/common/shlibs index 185ba856d7e6c..b3b4631897b78 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4267,3 +4267,4 @@ libgrass_gproj.8.3.so grass-8.3.0_1 libgrass_imagery.8.3.so grass-8.3.0_1 libgrass_raster.8.3.so grass-8.3.0_1 libgrass_vector.8.3.so grass-8.3.0_1 +libsqsh.so.1 libsqsh-1.0.0_1 diff --git a/srcpkgs/libsqsh-devel b/srcpkgs/libsqsh-devel new file mode 120000 index 0000000000000..069c20fe19003 --- /dev/null +++ b/srcpkgs/libsqsh-devel @@ -0,0 +1 @@ +libsqsh \ No newline at end of file diff --git a/srcpkgs/libsqsh/template b/srcpkgs/libsqsh/template new file mode 100644 index 0000000000000..307770eab8ef8 --- /dev/null +++ b/srcpkgs/libsqsh/template @@ -0,0 +1,34 @@ +# Template file for 'libsqsh' +pkgname=libsqsh +version=1.2.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 " +license="BSD-2-Clause" +homepage="https://gottox.de/libsqsh/" +distfiles="https://github.com/Gottox/libsqsh/archive/refs/tags/v${version}.tar.gz" +checksum=f0ad339efd69e657ca2b50169a11cc689958b50a9b7d0f45cce39dad8907762c + +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" + } +} + +sqsh-tools_package() { + pkg_install() { + vmove usr/bin + vmove usr/share/man + } +} diff --git a/srcpkgs/sqsh-tools b/srcpkgs/sqsh-tools new file mode 120000 index 0000000000000..069c20fe19003 --- /dev/null +++ b/srcpkgs/sqsh-tools @@ -0,0 +1 @@ +libsqsh \ No newline at end of file