flarectl

LOW
maintainer orphaned 0 votes scanned 2026-10-25 09:42:04.970873
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Vinay S Shastry <vinayshastry at gmail dot com>
2
3pkgname=flarectl
4_pkgname=cloudflare-go
5pkgver=0.89.0
6pkgrel=1
7pkgdesc='CLI application for interacting with a Cloudflare account'
8arch=('x86_64')
9url="https://github.com/${_pkgname%-go}/${_pkgname}/tree/v${pkgver}/cmd/${pkgname}"
10license=('BSD')
11makedepends=('go')
12options=('!lto')
13source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/${_pkgname%-go}/${_pkgname}/archive/v${pkgver}.tar.gz")
14b2sums=('a2f2795f967842aee975bc8534bac4ac61b9bbd3c858751479fda414854767465eeea23afe67200530b2e16ec65efbd52701a6d309d1a344502cfca7e0e0f541')
15
16prepare() {
17 cd "${_pkgname}-${pkgver}"
18 mkdir --parents 'build'
19}
20
21build() {
22 cd "${_pkgname}-${pkgver}"
23 export \
24 CGO_CPPFLAGS="${CPPFLAGS}" \
25 CGO_CFLAGS="${CFLAGS}" \
26 CGO_CXXFLAGS="${CXXFLAGS}" \
27 CGO_LDFLAGS="${LDFLAGS}"
28 go build \
29 -buildmode=pie \
30 -ldflags "
31 -extldflags ${LDFLAGS}
32 -linkmode=external
33 -X main.version=$pkgver
34 " \
35 -mod=readonly \
36 -o build \
37 -trimpath \
38 ./cmd/...
39}
40
41check() {
42 cd "${_pkgname}-${pkgver}"
43 go test \
44 -mod=readonly \
45 -v \
46 ./cmd/...
47}
48
49package() {
50 install -D --mode 755 "${_pkgname}-${pkgver}/build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-10-25 09:42:04 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion