moving packages

This commit is contained in:
Ella-0 2021-07-31 12:55:09 +00:00
parent d2235a7fc5
commit 7488ce0293
48 changed files with 0 additions and 0 deletions

24
base/samurai/build.sh Normal file
View file

@ -0,0 +1,24 @@
pkgver=1.2
pkgname=samurai
pkgrel=1
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
samu
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/bin
install -Dm755 ./samu $pkgdir/usr/bin/
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}