tsuzuri

LOW
maintainer shbernal 0 votes scanned 2026-10-30 11:55:28.915114
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: shbernal <shbernal.01@gmail.com>
2
3pkgname=tsuzuri
4pkgver=0.3.1
5pkgrel=1
6pkgdesc='Block-based notebook for the terminal with plain Markdown files and Vim editing'
7arch=('x86_64' 'aarch64')
8url='https://github.com/jaisuriya-11/tsuzuri'
9license=('MIT')
10depends=('glibc')
11makedepends=('go')
12optdepends=('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')
17source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
18sha256sums=('1b1b9cf58e70a3e74d84eda68976213eaf1a2db8f43e08658f136057ab8bbe04')
19
20build() {
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
35check() {
36 cd "${pkgname}-${pkgver}"
37
38 export GOPATH="${srcdir}"
39 export GOFLAGS="-trimpath -mod=readonly -modcacherw"
40
41 go test ./...
42}
43
44package() {
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)SeverityRules
2026-10-30 11:55:28 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