toaster
LOW
maintainer anelgarhy
0 votes
scanned 2026-10-23 15:37:50.087015
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: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
2
pkgname=toaster
3
pkgver=0.4.11
4
pkgrel=1
5
pkgdesc='Hears whatever is playing and writes it out as live Strudel code, with visuals'
6
arch=(
7
'x86_64'
8
)
9
url='https://github.com/StopBanning/toaster'
10
license=('MIT')
11
depends=('electron44')
12
makedepends=(
13
'npm'
14
'nodejs'
15
'git'
16
)
17
options=(!debug)
18
source=(
19
"$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
20
'toaster.desktop'
21
)
22
sha256sums=(
23
'0fa19818f32b3309f5e0614264badf8d3696184fbeeaa15fb8143b8b76538612'
24
'd8716162035147616f5702802e039456968fa2d594c070d4a6ede66845caa01c'
25
)
26
27
prepare() {
28
cd "$pkgname-$pkgver"
29
npm install --package-lock-only --ignore-scripts
30
}
31
32
build() {
33
cd "$pkgname-$pkgver"
34
npm ci --omit=dev
35
}
36
37
package() {
38
cd "$pkgname-$pkgver"
39
40
install -d "$pkgdir/usr/lib/$pkgname"
41
cp -r node_modules package.json . "$pkgdir/usr/lib/$pkgname/"
42
43
install -d "$pkgdir/usr/bin"
44
cat > "$pkgdir/usr/bin/$pkgname" <<'EOF'
45
#!/bin/sh
46
exec electron44 /usr/lib/toaster --disable-gpu-sandbox "$@"
47
EOF
48
chmod +x "$pkgdir/usr/bin/$pkgname"
49
50
install -Dm644 build/icon.png \
51
"$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
52
53
install -Dm644 ../toaster.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
54
55
install -Dm644 LICENSE \
56
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
57
}
58
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 15:37:50 | Low | 1 |