aboutsummaryrefslogtreecommitdiffstats
path: root/community/github-cli/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/github-cli/APKBUILD')
-rw-r--r--community/github-cli/APKBUILD49
1 files changed, 0 insertions, 49 deletions
diff --git a/community/github-cli/APKBUILD b/community/github-cli/APKBUILD
deleted file mode 100644
index 5860b6dfa7..0000000000
--- a/community/github-cli/APKBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Contributor: Leo <thinkabit.ukim@gmail.com>
-# Maintainer: Leo <thinkabit.ukim@gmail.com>
-pkgname=github-cli
-pkgver=1.6.0
-pkgrel=0
-pkgdesc="CLI for dealing with GitHub"
-options="net chmod-clean" # Need to fetch modules and clean them up
-url="https://cli.github.com"
-arch="all !ppc64le" # FAIL: TestIssueView_tty_Preview (0.01s)
-license="MIT"
-depends="git"
-makedepends="go"
-subpackages="
- $pkgname-doc
- $pkgname-bash-completion
- $pkgname-zsh-completion
- $pkgname-fish-completion
- "
-source="https://github.com/cli/cli/archive/v$pkgver/github-cli-$pkgver-$pkgver.tar.gz
- "
-builddir="$srcdir/cli-$pkgver"
-
-build() {
- CGO_CPPFLAGS="$CPPFLAGS" \
- CGO_CFLAGS="$CFLAGS" \
- CGO_CXXFLAGS="$CXXFLAGS" \
- CGO_LDFLAGS="$LDFLAGS" \
- \
- make GH_VERSION="v$pkgver" bin/gh manpages
- bin/gh completion -s bash | install -Dm0644 /dev/stdin \
- share/bash-completion/completions/gh
- bin/gh completion -s zsh | install -Dm0644 /dev/stdin \
- share/zsh/site-functions/_gh
- bin/gh completion -s fish | install -Dm0644 /dev/stdin \
- share/fish/completions/gh.fish
-}
-
-check() {
- go test -v ./...
-}
-
-package() {
- install -Dm755 bin/gh "$pkgdir"/usr/bin/gh
-
- mkdir -p "$pkgdir"/usr
- cp -r share "$pkgdir"/usr
-}
-
-sha512sums="fb78e1809ad4d3f018fb6acc9703235af4da0b58509fc6ee257b52b490c6bfe3a02613ab62f16bff21420f006a3197bd3141391952489416460b7e3ac3995cd4 github-cli-1.6.0-1.6.0.tar.gz"