iglunix/base/samurai/build.sh
2022-04-22 21:47:11 +00:00

29 lines
451 B
Bash

pkgver=1.2
pkgname=samurai
pkgrel=1
auto_cross
fetch() {
curl -L "http://github.com/michaelforney/samurai/releases/download/1.2/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
make LDFLAGS="$LDFLAGS"
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/bin
install -Dm755 ./samu $pkgdir/usr/bin/
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}
backup() {
return
}