summaryrefslogtreecommitdiff
path: root/testing/flarectl/APKBUILD
blob: 03ef30d370a63ed85295ebe397471316a57088a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=flarectl
pkgver=0.38.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" # no testsuite provided

build() {
	go build -o flarectl
}

package() {
	install -Dm755 flarectl -t "$pkgdir"/usr/bin
}

sha512sums="
f0e04611c92639eecf973134cdfa18a879b6b2784711b11746d17a5585aa45e59623d4cc27e232787ab03f2ea85a873df1a2621227ae661fa1d0b4bad62e3e32  flarectl-0.38.0.tar.gz
"