screenote-cli
LOW
maintainer ivankuznetsov11
0 votes
scanned 2026-08-28 17:36:11.985848
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
3
pkgname=screenote-cli
4
pkgver=0.3.0
5
pkgrel=1
6
pkgdesc='Command-line client for Screenote visual feedback workflows'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/ivankuznetsov/screenote-cli'
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('go')
12
options=('!debug')
13
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14
sha256sums=('c67e37dbd1146d0ffd78f2bfa7cca754b40f9cb5ddee70770c6e95b977103ee6')
15
16
prepare() {
17
cd "${pkgname}-${pkgver}"
18
export GOPATH="$srcdir/gopath"
19
go mod download
20
}
21
22
build() {
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
37
check() {
38
cd "${pkgname}-${pkgver}"
39
export GOPATH="$srcdir/gopath"
40
go test ./...
41
}
42
43
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-28 17:36:11 | Low | 1 |