24 lines
369 B
Bash
24 lines
369 B
Bash
pkgver=master
|
|
pkgname=kati
|
|
pkgrel=1
|
|
|
|
fetch() {
|
|
curl -LL "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
|
|
}
|