neossh

LOW
maintainer pqatsi 0 votes scanned 2026-09-21 13:34:51.671275
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# Based on work of neossh maintainer: Andy Kelk <andy@andykelk.net>
2# Maintainer: Leonardo Amaral <archlinux@leonardoamaral.com.br>
3
4pkgname=neossh
5pkgver=1.0.0
6pkgrel=1
7pkgdesc='An actively maintained fork and continuation of lazyssh'
8arch=('x86_64' 'aarch64')
9url='https://github.com/WhiteRoseLK/neossh'
10license=('MIT')
11makedepends=('go')
12source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
13sha256sums=('6d96bef14e3269c33c59cc28b942a94bb0471e45a8752d5c853dae734f3a969d')
14
15prepare() {
16 cd "$pkgname-$pkgver"
17 mkdir -p build/
18}
19
20build() {
21 cd "$pkgname-$pkgver"
22 export CGO_CPPFLAGS="${CPPFLAGS}"
23 export CGO_CFLAGS="${CFLAGS}"
24 export CGO_CXXFLAGS="${CXXFLAGS}"
25 export CGO_LDFLAGS="${LDFLAGS}"
26 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
27
28 go build -o build/$pkgname -ldflags "-X main.version=$pkgver" ./cmd/
29}
30
31check() {
32 cd "$pkgname-$pkgver"
33 go test ./...
34}
35
36package() {
37 cd "$pkgname-$pkgver"
38 install -Dm755 "build/$pkgname" "$pkgdir/usr/bin/$pkgname"
39
40 # Install license if it exists
41 if [ -f LICENSE ]; then
42 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43 fi
44
45 # Install documentation
46 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
47}
48

Scan history

Scanned at (UTC)SeverityRules
2026-09-21 13:34:51 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