tsuzuri
LOW
maintainer shbernal
0 votes
scanned 2026-10-30 11:55:28.915114
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: shbernal <shbernal.01@gmail.com>
2
3
pkgname=tsuzuri
4
pkgver=0.3.1
5
pkgrel=1
6
pkgdesc='Block-based notebook for the terminal with plain Markdown files and Vim editing'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/jaisuriya-11/tsuzuri'
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('go')
12
optdepends=('wl-clipboard: clipboard access on Wayland'
13
'xclip: clipboard access on X11'
14
'xdg-utils: open links'
15
'zenity: file picker for attachments'
16
'kdialog: file picker for attachments')
17
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
18
sha256sums=('1b1b9cf58e70a3e74d84eda68976213eaf1a2db8f43e08658f136057ab8bbe04')
19
20
build() {
21
cd "${pkgname}-${pkgver}"
22
23
export GOPATH="${srcdir}"
24
export CGO_CPPFLAGS="${CPPFLAGS}"
25
export CGO_CFLAGS="${CFLAGS}"
26
export CGO_CXXFLAGS="${CXXFLAGS}"
27
export CGO_LDFLAGS="${LDFLAGS}"
28
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
29
30
go build \
31
-ldflags "-compressdwarf=false -linkmode external -X main.version=${pkgver}" \
32
-o tsuzuri ./cmd/tsuzuri
33
}
34
35
check() {
36
cd "${pkgname}-${pkgver}"
37
38
export GOPATH="${srcdir}"
39
export GOFLAGS="-trimpath -mod=readonly -modcacherw"
40
41
go test ./...
42
}
43
44
package() {
45
cd "${pkgname}-${pkgver}"
46
47
install -Dm755 tsuzuri "${pkgdir}/usr/bin/tsuzuri"
48
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
49
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-30 11:55:28 | Low | 1 |