slskd
LOW
maintainer nVjhNFGQWoBQEthk
0 votes
scanned 2026-10-26 01:43:34.721224
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: Your Name <your.email@example.com>
2
pkgname=slskd
3
pkgver=0.26.2
4
pkgrel=1
5
pkgdesc='A modern client-server application for the Soulseek file sharing network'
6
url='https://github.com/slskd/slskd'
7
arch=('x86_64' 'aarch64' 'armv7h')
8
license=('AGPL3')
9
depends=(
10
'aspnet-runtime'
11
)
12
makedepends=(
13
'dotnet-sdk'
14
'nodejs'
15
'npm'
16
'git'
17
)
18
provides=(${pkgname})
19
conflicts=(${pkgname}-git ${pkgname}-bin)
20
options=('!strip')
21
source=(
22
"https://github.com/slskd/slskd/archive/refs/tags/${pkgver}.tar.gz"
23
'slskd.service'
24
'slskd.sysusers'
25
'slskd.tmpfiles'
26
)
27
sha256sums=('6ce85d49cc6cae4864e1e048079c633c99fd1f1c182b7e901e041d40b1207ac6'
28
'SKIP'
29
'SKIP'
30
'SKIP'
31
)
32
33
build() {
34
cd "$srcdir/$pkgname-$pkgver"
35
36
cd src/web
37
38
npm install --no-audit --no-fund
39
npm run build
40
41
rm -rf ../slskd/wwwroot
42
mkdir ../slskd/wwwroot
43
44
cp -r build/* ../slskd/wwwroot/
45
46
cd ../../src/slskd
47
48
case "$CARCH" in
49
x86_64) rid="linux-x64" ;;
50
aarch64) rid="linux-arm64" ;;
51
armv7h) rid="linux-arm64" ;;
52
*) error "Unsupported architecture: $arch"; return 1 ;;
53
esac
54
55
dotnet publish \
56
--configuration Release \
57
--runtime "$rid" \
58
-p:AllowMissingPrunePackageData=true \
59
--self-contained false \
60
--output "$srcdir/publish"
61
}
62
63
package() {
64
cd "$srcdir/$pkgname-$pkgver"
65
66
install -dm755 "$pkgdir/usr/lib/slskd"
67
cp -a "$srcdir/publish/." "$pkgdir/usr/lib/slskd/"
68
69
install -dm755 "$pkgdir/usr/bin"
70
cat > "$pkgdir/usr/bin/slskd" <<EOF
71
#!/bin/sh
72
exec /usr/bin/dotnet /usr/lib/slskd/slskd.dll "$@"
73
EOF
74
chmod 755 "$pkgdir/usr/bin/slskd"
75
76
if [[ -d config ]]; then
77
install -dm755 "$pkgdir/usr/share/slskd"
78
cp -a config/. "$pkgdir/usr/share/slskd"
79
fi
80
81
install -Dm644 "$srcdir/slskd.service" "$pkgdir/usr/lib/systemd/system/slskd.service"
82
install -Dm644 "$srcdir/slskd.sysusers" "$pkgdir/usr/lib/sysusers.d/slskd.conf"
83
install -Dm644 "$srcdir/slskd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/slskd.conf"
84
}
85
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-26 01:43:34 | Low | 1 |
| 2026-10-26 00:12:40 | Clean | 2 |
| 2026-10-25 23:43:15 | Low | 1 |