iglunix/pkgs/kati/build.sh
2021-01-12 11:06:46 +00:00

24 lines
368 B
Bash

pkgver=master
pkgname=kati
pkgrel=1
fetch() {
curl -L "https://github.com/google/kati/archive/master.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
gmake
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/bin
install -Dm755 ./ckati $pkgdir/usr/bin/
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}