# Maintainer: M Hickford pkgname=git-credential-oauth pkgver=0.9.1 pkgrel=0 pkgdesc="Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth" url="https://github.com/hickford/git-credential-oauth" arch="all" license="Apache-2.0" makedepends="go" source="$pkgname-$pkgver.tar.gz::https://github.com/hickford/git-credential-oauth/archive/v$pkgver.tar.gz" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build -v } check() { go test ./... } package() { install -Dm755 git-credential-oauth -t "$pkgdir"/usr/bin/ } sha512sums=" a24890c05292b6970b854b8bb212a901ef7525ecf314a67e8d1c5e40bcba193540a5fbea66431b8698d6149b9797c4a1fef11e93294c54d4220e738ab173dd84 git-credential-oauth-0.9.1.tar.gz "