simplelogin-cli

LOW
maintainer marcool04 0 votes scanned 2026-09-22 13:37:53.609286
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: Mark Collins <tera_1225 hat hotmail ðot com>
2
3pkgname=simplelogin-cli
4pkgdesc="Command-line interface for SimpleLogin"
5pkgver=0.4.0
6pkgrel=1
7arch=(x86_64)
8url="https://github.com/mexcool/${pkgname}"
9license=('GPL-3.0-or-later')
10depends=(
11 'glibc'
12)
13makedepends=(
14 'go'
15)
16source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
17sha512sums=('651ccb7a557e2cb0aebe1ac795b2ba3ad801700df3484c28133b7860aa8f63ee875ab788a3ee6700a5af9705e6643843751a9a62a9ab22c36c5fc6e15bc902cc')
18
19
20prepare() {
21 cd "${pkgname}-${pkgver}"
22 export GOPATH="${srcdir}"
23 go mod download -modcacherw
24}
25
26build() {
27 cd ${pkgname}-${pkgver}
28 export CGO_CPPFLAGS="${CPPFLAGS}"
29 export CGO_CFLAGS="${CFLAGS}"
30 export CGO_CXXFLAGS="${CXXFLAGS}"
31 export CGO_LDFLAGS="${LDFLAGS}"
32 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
33
34 go build -o simplelogin-cli ./cmd/sl/
35}
36
37package() {
38 cd ${pkgname}-${pkgver}
39 install -Dm755 simplelogin-cli "${pkgdir}/usr/bin/simplelogin-cli"
40 echo "Generating shell completion script for bash"
41 mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
42 ./simplelogin-cli completion bash > "${pkgdir}/usr/share/bash-completion/completions/$pkgname"
43 echo "Generating shell completion script for fish"
44 mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
45 ./simplelogin-cli completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
46 echo "Generating shell completion script for zsh"
47 mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
48 ./simplelogin-cli completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_$pkgname"
49}
50

Scan history

Scanned at (UTC)SeverityRules
2026-09-22 13:37:53 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