added github-cli

This commit is contained in:
Ella-0 2021-03-03 10:56:06 +00:00
parent f4c7d71e40
commit 9f80fe89d3

24
pkgs/github-cli/build.sh Normal file
View file

@ -0,0 +1,24 @@
pkgname=github-cli
pkgver=1.6.2
fetch() {
curl -L "https://github.com/cli/cli/archive/v1.6.2.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mv cli-$pkgver $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
ckati
}
package() {
cd $pkgname-$pkgver
install -Dm755 bin/gh $pkgdir/usr/bin/gh
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}