envman

MEDIUM
maintainer lmartinez-mirror 2 votes scanned 2026-11-01 16:01:05.312492
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2# Contributor: Jni <jni.viens at protonmail dot com>
3
4pkgname="envman"
5pkgver=2.5.4
6pkgrel=1
7pkgdesc="Manage Environment Variable collections"
8arch=('aarch64' 'x86_64')
9url="https://github.com/bitrise-io/${pkgname}"
10license=('MIT')
11depends=('glibc')
12makedepends=('go')
13_pkgsrc="${pkgname}-${pkgver}"
14source=("${_pkgsrc}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
15sha256sums=('0c24aa43951bf5fb69ff861b006c4b2684ab464aed49f725fc93a8b74ebd29fc')
16
17prepare() {
18 export GOMODCACHE="${srcdir}/go-mod-cache"
19
20 cd "${srcdir}/${_pkgsrc}"
21 go mod download -x
22 chmod -R ug+Xwr "${GOMODCACHE}"
23
24 mkdir -p "build"
25}
26
27build() {
28 export CGO_CPPFLAGS="${CPPFLAGS}"
29 export CGO_CFLAGS="${CFLAGS}"
30 export CGO_CXXFLAGS="${CXXFLAGS}"
31 export CGO_LDFLAGS="${LDFLAGS}"
32 export GOCACHE="${srcdir}/go-cache"
33 export GOMODCACHE="${srcdir}/go-mod-cache"
34 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
35
36 cd "${srcdir}/${_pkgsrc}"
37 go build -v -o "build/${pkgname}" .
38}
39
40check() {
41 cd "${srcdir}/${_pkgsrc}"
42 go test ./...
43}
44
45package() {
46 cd "${srcdir}/${_pkgsrc}"
47 install -vDm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
48 install -vDm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
49 install -vDm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 16:01:05 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

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

0 / 4000
Your suggestion