screenote-cli

LOW
maintainer ivankuznetsov11 0 votes scanned 2026-08-28 17:36:11.985848
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: Ivan Kuznetsov <ivankuznetsov@users.noreply.github.com>
2
3pkgname=screenote-cli
4pkgver=0.3.0
5pkgrel=1
6pkgdesc='Command-line client for Screenote visual feedback workflows'
7arch=('x86_64' 'aarch64')
8url='https://github.com/ivankuznetsov/screenote-cli'
9license=('MIT')
10depends=('glibc')
11makedepends=('go')
12options=('!debug')
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14sha256sums=('c67e37dbd1146d0ffd78f2bfa7cca754b40f9cb5ddee70770c6e95b977103ee6')
15
16prepare() {
17 cd "${pkgname}-${pkgver}"
18 export GOPATH="$srcdir/gopath"
19 go mod download
20}
21
22build() {
23 cd "${pkgname}-${pkgver}"
24 local build_date
25 build_date="$(date -u -d "@${SOURCE_DATE_EPOCH}" +%Y-%m-%dT%H:%M:%SZ)"
26 export CGO_CPPFLAGS="${CPPFLAGS}"
27 export CGO_CFLAGS="${CFLAGS}"
28 export CGO_CXXFLAGS="${CXXFLAGS}"
29 export CGO_LDFLAGS="${LDFLAGS}"
30 export GOPATH="$srcdir/gopath"
31 export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
32 go build \
33 -ldflags="-linkmode=external -X github.com/ivankuznetsov/screenote-cli/internal/cli.Version=${pkgver} -X github.com/ivankuznetsov/screenote-cli/internal/cli.Commit=v${pkgver} -X github.com/ivankuznetsov/screenote-cli/internal/cli.BuildDate=${build_date}" \
34 -o screenote ./cmd/screenote
35}
36
37check() {
38 cd "${pkgname}-${pkgver}"
39 export GOPATH="$srcdir/gopath"
40 go test ./...
41}
42
43package() {
44 cd "${pkgname}-${pkgver}"
45 install -Dm755 screenote "$pkgdir/usr/bin/screenote"
46 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
47 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
48}
49

Scan history

Scanned at (UTC)SeverityRules
2026-08-28 17:36:11 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