blob: e0dc1c69dc1ac07cd235c4fb59486d4e188a696e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
|