#!/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