2020-12-27 19:56:27 +00:00
|
|
|
pkgver=1.2
|
|
|
|
pkgname=samurai
|
|
|
|
pkgrel=1
|
|
|
|
|
|
|
|
fetch() {
|
2021-01-12 11:06:46 +00:00
|
|
|
curl -L "http://github.com/michaelforney/samurai/releases/download/1.2/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
2020-12-27 19:56:27 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.gz
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
samu
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
install -d $pkgdir/bin
|
|
|
|
install -Dm755 ./samu $pkgdir/bin/
|
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat LICENSE
|
|
|
|
}
|