Changed from / to /usr where appropriate

This commit is contained in:
Ella-0 2021-01-12 11:06:46 +00:00
parent f849b3f7ba
commit 3182a6f943
20 changed files with 297 additions and 105 deletions

View file

@ -1,23 +1,24 @@
pkgver=0.0.0
pkgver=master
pkgname=kati
pkgrel=1
fetch() {
git clone --depth=1 "https://github.com/google/kati"
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
ckati
cd $pkgname-$pkgver
gmake
}
package() {
cd $pkgname
install -d $pkgdir/bin
install -Dm755 ./ckati $pkgdir/bin/
cd $pkgname-$pkgver
install -d $pkgdir/usr/bin
install -Dm755 ./ckati $pkgdir/usr/bin/
}
license() {
cd $pkgname
cd $pkgname-$pkgver
cat LICENSE
}