ttcli
LOW
maintainer itsme
1 votes
scanned 2026-09-23 13:40:34.773403
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: Sergey Kanafyev <sergeykanafyev@gmail.com>
2
# Automation: https://github.com/its-me/aur.ttcli
3
4
pkgname=ttcli
5
pkgver=0.3.0
6
pkgrel=1
7
pkgdesc="TickTick CLI - tasks, lists, and pomodoro/focus records from the terminal"
8
arch=('x86_64' 'aarch64')
9
url="https://github.com/j4y-w4lk3r/ttcli"
10
license=('MIT')
11
depends=('glibc')
12
makedepends=('go')
13
optdepends=('1password-cli: ttcli login and automatic session refresh'
14
'libnotify: desktop notifications')
15
conflicts=('ttcli-bin')
16
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/j4y-w4lk3r/ttcli/archive/refs/tags/v${pkgver}.tar.gz")
17
sha256sums=('2f1bd53972d91416f5fdcde841f8b8370a3ec314f754a6c8511117434e1af9f1')
18
19
prepare() {
20
cd "${pkgname}-${pkgver}"
21
go mod download
22
}
23
24
build() {
25
cd "${pkgname}-${pkgver}"
26
export CGO_CPPFLAGS="${CPPFLAGS}"
27
export CGO_CFLAGS="${CFLAGS}"
28
export CGO_CXXFLAGS="${CXXFLAGS}"
29
export CGO_LDFLAGS="${LDFLAGS}"
30
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
31
go build -o ttcli \
32
-ldflags "-linkmode=external -X github.com/j4y-w4lk3r/ttcli/internal/version.Version=${pkgver}" \
33
./cmd/ttcli
34
}
35
36
check() {
37
cd "${pkgname}-${pkgver}"
38
# upstream tests assume the author's local timezone
39
TZ=Europe/Berlin go test ./...
40
}
41
42
package() {
43
cd "${pkgname}-${pkgver}"
44
install -Dm755 ttcli "${pkgdir}/usr/bin/ttcli"
45
install -Dm644 completions/_ttcli "${pkgdir}/usr/share/zsh/site-functions/_ttcli"
46
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
47
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-23 13:40:34 | Low | 1 |