ctty
LOW
maintainer imjiaoyuan
0 votes
scanned 2026-09-12 15:12:25.546860
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: imjiaoyuan <imjiaoyuan@gmail.com>
2
3
pkgname=ctty
4
pkgver=0.7.2
5
pkgrel=1
6
pkgdesc="Lightweight all-in-one TUI connection manager for SSH, serial, SFTP, telnet and FTP"
7
arch=('x86_64')
8
url="https://github.com/zsuroy/ctty"
9
license=('MIT')
10
makedepends=('go')
11
conflicts=('ctty-bin')
12
options=('!strip' '!debug')
13
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14
sha256sums=('55b39739f28c3c11d1135b2205563e6f9b2959b29e64133c43ac7692a43934eb')
15
16
build() {
17
cd "$srcdir/ctty-$pkgver"
18
export CGO_ENABLED=0
19
export GOPATH="$srcdir/gopath"
20
export GOCACHE="$srcdir/gocache"
21
export GOFLAGS=-mod=readonly
22
export GOPROXY="https://proxy.golang.org"
23
go build -trimpath \
24
-ldflags "-s -w -X github.com/zsuroy/ctty/cmd.AppVersion=$pkgver" \
25
-o "$srcdir/$pkgname" .
26
}
27
28
package() {
29
install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
30
install -Dm644 "$srcdir/ctty-$pkgver/LICENSE" \
31
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
32
}
33
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-12 15:12:25 | Low | 1 |