# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=flarectl pkgver=0.74.0 pkgrel=0 pkgdesc="CLI application for interacting with a Cloudflare account" url="https://github.com/cloudflare/cloudflare-go/tree/master/cmd/flarectl" arch="all" license="BSD-3-Clause" makedepends="go" source="https://github.com/cloudflare/cloudflare-go/archive/refs/tags/v$pkgver/flarectl-$pkgver.tar.gz" builddir="$srcdir/cloudflare-go-$pkgver/cmd/flarectl" options="!check chmod-clean net" # no testsuite provided export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" export GOFLAGS="$GOFLAGS -buildvcs=false" build() { go build -o flarectl } package() { install -Dm755 flarectl -t "$pkgdir"/usr/bin } sha512sums=" e32517b2df0756b72806a65241310dd92fb0143046d44c3aad3e03fcdfb4d59161be6fe67b84b5fffd5db02abc63c522366cfbcf38144983ea939919f34df360 flarectl-0.74.0.tar.gz "