ttcli

LOW
maintainer itsme 1 votes scanned 2026-09-23 13:40:34.773403
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: Sergey Kanafyev <sergeykanafyev@gmail.com>
2# Automation: https://github.com/its-me/aur.ttcli
3
4pkgname=ttcli
5pkgver=0.3.0
6pkgrel=1
7pkgdesc="TickTick CLI - tasks, lists, and pomodoro/focus records from the terminal"
8arch=('x86_64' 'aarch64')
9url="https://github.com/j4y-w4lk3r/ttcli"
10license=('MIT')
11depends=('glibc')
12makedepends=('go')
13optdepends=('1password-cli: ttcli login and automatic session refresh'
14 'libnotify: desktop notifications')
15conflicts=('ttcli-bin')
16source=("${pkgname}-${pkgver}.tar.gz::https://github.com/j4y-w4lk3r/ttcli/archive/refs/tags/v${pkgver}.tar.gz")
17sha256sums=('2f1bd53972d91416f5fdcde841f8b8370a3ec314f754a6c8511117434e1af9f1')
18
19prepare() {
20 cd "${pkgname}-${pkgver}"
21 go mod download
22}
23
24build() {
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
36check() {
37 cd "${pkgname}-${pkgver}"
38 # upstream tests assume the author's local timezone
39 TZ=Europe/Berlin go test ./...
40}
41
42package() {
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)SeverityRules
2026-09-23 13:40:34 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