iglunix/pkgs/squashfs-tools/build.sh

25 lines
392 B
Bash
Raw Normal View History

2021-04-08 10:08:43 +00:00
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
}