From 92300ed9a80d638854e1513dcf08ac8ba537f53f 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.0.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 82107af453333..4b5488bf49ddd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4331,3 +4331,4 @@ libchafa.so.0 libchafa-1.12.5_1 libcppdap.so cppdap-1.58.0+a_1 libkeyfinder.so.2 libkeyfinder-2.2.7_1 libb64.so.0 libb64-1.2.1_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..04b803f4f5908 --- /dev/null +++ b/srcpkgs/libsqsh/template @@ -0,0 +1,34 @@ +# Template file for 'libsqsh' +pkgname=libsqsh +version=1.0.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=8522861cf9258d068afc143e6bdc33d43cc8b5488f564d5a12e21148c5879bc9 + +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