Adedd squashfs-tools
This commit is contained in:
parent
a55e2671b8
commit
8d8cbc593c
1 changed files with 24 additions and 0 deletions
24
pkgs/squashfs-tools/build.sh
Normal file
24
pkgs/squashfs-tools/build.sh
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
pkgname=squashfs-tools
|
||||||
|
pkgver=master
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/plougher/squashfs-tools/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cd $pkgname
|
||||||
|
gmake
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cd $pkgname
|
||||||
|
gmake install INSTALL_DIR=$pkgdir/usr/bin
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat COPYING
|
||||||
|
}
|
Loading…
Reference in a new issue