aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2022-01-07 09:32:57 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-07-01 07:27:35 +0000
commitce9537f4ab9485dcedb1ae23c20f508879b42813 (patch)
tree057ad506fc7450fe7e69938d3079338a49eb8d54
parent35e87b2d0c4e67a8dd6fc2bb49178eac1a45f574 (diff)
downloadaports-ce9537f4ab9485dcedb1ae23c20f508879b42813.tar.gz
aports-ce9537f4ab9485dcedb1ae23c20f508879b42813.tar.bz2
aports-ce9537f4ab9485dcedb1ae23c20f508879b42813.tar.xz
main/squashfs-tools: also install the new sqfscat and sqfstar tools
Since v4.5, squashfs now ships with `sqfscat` and `sqfstar` utilities. While they can be invoked with `unsquashfs` arguments, we should just install them. Sadly, `install` is stupid and dereferences symlinks, so they have to be copied/re-created instead. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
-rw-r--r--main/squashfs-tools/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/squashfs-tools/APKBUILD b/main/squashfs-tools/APKBUILD
index 4967f9dabf..4e6f751cfd 100644
--- a/main/squashfs-tools/APKBUILD
+++ b/main/squashfs-tools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=squashfs-tools
pkgver=4.5.1
-pkgrel=0
+pkgrel=1
pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux"
url="https://github.com/plougher/squashfs-tools"
arch="all"
@@ -27,6 +27,9 @@ package() {
'squashfs-tools/mksquashfs' \
'squashfs-tools/unsquashfs' \
;
+
+ ln -f -s 'unsquashfs' "$pkgdir/usr/bin/sqfscat"
+ ln -f -s 'unsquashfs' "$pkgdir/usr/bin/sqfstar"
}
sha512sums="