switchyard

LOW
maintainer wooptoo 1 votes scanned 2026-08-25 13:26:42.022164
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: Radu Potop <radu at wooptoo dot com>
2
3pkgname=switchyard
4pkgver=0.1.0
5pkgrel=1
6pkgdesc='A lightweight bridge that accepts email over SMTP and forwards each message to XMPP'
7arch=('x86_64')
8license=('Custom: SEGV License')
9url='https://tty.fail/mrus/switchyard'
10source=("git+${url}.git#tag=v$pkgver")
11makedepends=('git' 'go')
12options=(!lto)
13sha256sums=('61502f7b086fee9824f2d7a9cc22fd30c79c95f4478ae0b9991a001c86b2ed8d')
14
15prepare() {
16 cd "$pkgname"
17 make test
18}
19
20build() {
21 cd "$pkgname"
22 export CGO_CPPFLAGS="${CPPFLAGS}"
23 export CGO_CFLAGS="${CFLAGS}"
24 export CGO_CXXFLAGS="${CXXFLAGS}"
25 export CGO_LDFLAGS="${LDFLAGS}"
26 make build
27}
28
29package() {
30 cd "$pkgname"
31 install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
32 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
33 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
34}
35

Scan history

Scanned at (UTC)SeverityRules
2026-08-25 13:26:42 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