iglunix/base/kati/build.sh

25 lines
381 B
Bash
Raw Normal View History

pkgver=master
2020-12-29 15:47:35 +00:00
pkgname=kati
pkgrel=1
fetch() {
2021-01-31 11:09:14 +00:00
curl -LL "https://github.com/google/kati/archive/master.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
2020-12-29 15:47:35 +00:00
}
build() {
cd $pkgname-$pkgver
bad --gmake gmake
2020-12-29 15:47:35 +00:00
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/bin
install -Dm755 ./ckati $pkgdir/usr/bin/
2020-12-29 15:47:35 +00:00
}
license() {
cd $pkgname-$pkgver
2020-12-29 15:47:35 +00:00
cat LICENSE
}