diff options
Diffstat (limited to 'opt/squashfs-tools/MAKEPKG')
| -rw-r--r-- | opt/squashfs-tools/MAKEPKG | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/opt/squashfs-tools/MAKEPKG b/opt/squashfs-tools/MAKEPKG new file mode 100644 index 0000000..e0dc1c6 --- /dev/null +++ b/opt/squashfs-tools/MAKEPKG @@ -0,0 +1,38 @@ +#!/bin/mkpkg +# description: Tools to create and extract Squashfs filesystems +# url: https://github.com/plougher/squashfs-tools + +name=squashfs-tools +version=4.7.5 +release=1 +depends=(zlib xz lz4 zstd) +makedeps=() +source=(https://github.com/plougher/$name/archive/$version.tar.gz) +renames=($name-$version.tar.gz) + +sha256sums=( + "547b7b7f4d2e44bf91b6fc554664850c69563701deab9fd9cd7e21f694c88ea6" +) + +build() { + cd $name-$version/squashfs-tools + + make XZ_SUPPORT=1 LZO_SUPPORT=0 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 + #make XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 -j$(nproc) + + install -d $PKG/usr/bin + install -m 755 mksquashfs $PKG/usr/bin/ + install -m 755 unsquashfs $PKG/usr/bin/ + ln -s mksquashfs $PKG/usr/bin/sqfstar + ln -s unsquashfs $PKG/usr/bin/sqfscat + + install -d $PKG/usr/share/man/man1 + install -m 644 ../Documentation/manpages/*.1 $PKG/usr/share/man/man1/ +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
