added github-cli
This commit is contained in:
parent
f4c7d71e40
commit
9f80fe89d3
1 changed files with 24 additions and 0 deletions
24
pkgs/github-cli/build.sh
Normal file
24
pkgs/github-cli/build.sh
Normal 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
|
||||
}
|
Loading…
Reference in a new issue