🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435
pkgname: squashfs
pkgver: '4.7.5'
pkgrel: '1'
pkgdesc: Squashfs is a compressed read-only filesystem for Linux.
url: 'https://squashfs.sourceforge.net/'
arch: x86_64
depends: []
makedepends:
- help2man
- sed
- zlib
- lzo
- xz
- lz4
- zstd
source:
- 'https://github.com/plougher/squashfs-tools/archive/refs/tags/${pkgver}.tar.gz'
sha256sums:
- 547b7b7f4d2e44bf91b6fc554664850c69563701deab9fd9cd7e21f694c88ea6
build: |
cd ${pkgname}-tools-${pkgver}/squashfs-tools
sed -i 's@^struct cache@extern struct cache@' mksquashfs.h
sed -i '1,1i#include <sys/sysmacros.h>' mksquashfs.c unsquashfs.c
sed -i 's@ln -fs $(INSTALL_DIR)/@ln -s @' Makefile
make XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZA_SUPPORT= \
ZSTD_SUPPORT=1 GZIP_SUPPORT=1 LZ4_SUPPORT=1 COMP_DEFAULT=zstd
mkdir -p ${PKGDIR}/usr/bin
make INSTALL_DIR=${PKGDIR}/usr/bin \
INSTALL_MANPAGES_DIR=${PKGDIR}/usr/share/man/man1 \
install
package: |
true