2021-01-12 11:06:46 +00:00
|
|
|
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
|
2021-01-12 11:06:46 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.gz
|
2020-12-29 15:47:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2021-01-12 11:06:46 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
gmake
|
2020-12-29 15:47:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-01-12 11:06:46 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
install -d $pkgdir/usr/bin
|
|
|
|
install -Dm755 ./ckati $pkgdir/usr/bin/
|
2020-12-29 15:47:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
2021-01-12 11:06:46 +00:00
|
|
|
cd $pkgname-$pkgver
|
2020-12-29 15:47:35 +00:00
|
|
|
cat LICENSE
|
|
|
|
}
|