flarectl
LOW
maintainer orphaned
0 votes
scanned 2026-10-25 09:42:04.970873
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
3
pkgname=flarectl
4
_pkgname=cloudflare-go
5
pkgver=0.89.0
6
pkgrel=1
7
pkgdesc='CLI application for interacting with a Cloudflare account'
8
arch=('x86_64')
9
url="https://github.com/${_pkgname%-go}/${_pkgname}/tree/v${pkgver}/cmd/${pkgname}"
10
license=('BSD')
11
makedepends=('go')
12
options=('!lto')
13
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/${_pkgname%-go}/${_pkgname}/archive/v${pkgver}.tar.gz")
14
b2sums=('a2f2795f967842aee975bc8534bac4ac61b9bbd3c858751479fda414854767465eeea23afe67200530b2e16ec65efbd52701a6d309d1a344502cfca7e0e0f541')
15
16
prepare() {
17
cd "${_pkgname}-${pkgver}"
18
mkdir --parents 'build'
19
}
20
21
build() {
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
41
check() {
42
cd "${_pkgname}-${pkgver}"
43
go test \
44
-mod=readonly \
45
-v \
46
./cmd/...
47
}
48
49
package() {
50
install -D --mode 755 "${_pkgname}-${pkgver}/build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-25 09:42:04 | Low | 1 |