playy
LOW
maintainer stealthspectre
0 votes
scanned 2026-10-08 10:08:28.062655
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: Aneesh Sambu (https://github.com/sambuaneesh)
2
pkgname=playy
3
pkgver=0.1.0
4
pkgrel=1
5
pkgdesc='Music player for the terminal: your music folder and YouTube Music in one library, offline or online'
6
arch=('x86_64' 'aarch64')
7
url='https://github.com/sambuaneesh/playy'
8
license=('MIT')
9
depends=('mpv' 'yt-dlp' 'ffmpeg' 'glibc')
10
makedepends=('go')
11
optdepends=('kitty: sharp cover art (other terminals show block art)'
12
'libnotify: a notification when a song starts'
13
'wl-clipboard: copy links and open shared links from the clipboard (Wayland)'
14
'xdg-utils: open links in the browser')
15
provides=('playy')
16
conflicts=('playy-bin')
17
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
18
sha256sums=('1e026c93844537661a335f5aada6a42e3d1d36b036502f767b959022b8721a70')
19
20
prepare() {
21
cd "${pkgname}-${pkgver}"
22
export GOPATH="${srcdir}/gopath"
23
go mod download -x >/dev/null 2>&1 || go mod download
24
}
25
26
build() {
27
cd "${pkgname}-${pkgver}"
28
export GOPATH="${srcdir}/gopath"
29
export CGO_CPPFLAGS="${CPPFLAGS}"
30
export CGO_CFLAGS="${CFLAGS}"
31
export CGO_CXXFLAGS="${CXXFLAGS}"
32
export CGO_LDFLAGS="${LDFLAGS}"
33
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
34
go build -ldflags "-linkmode=external -X main.version=${pkgver}" -o playy .
35
}
36
37
check() {
38
cd "${pkgname}-${pkgver}"
39
export GOPATH="${srcdir}/gopath"
40
go test ./internal/music/... ./internal/lyrics/... ./internal/ytm/... ./internal/spotify/... ./internal/ui/... ./internal/config/...
41
}
42
43
package() {
44
cd "${pkgname}-${pkgver}"
45
install -Dm755 playy "${pkgdir}/usr/bin/playy"
46
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
47
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
48
install -Dm644 packaging/playy.desktop "${pkgdir}/usr/share/applications/playy.desktop"
49
install -Dm644 assets/playy.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/playy.svg"
50
install -Dm644 assets/playy-256.png "${pkgdir}/usr/share/icons/hicolor/256x256/apps/playy.png"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 10:08:28 | Low | 1 |