playy

LOW
maintainer stealthspectre 0 votes scanned 2026-10-08 10:08:28.062655
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: Aneesh Sambu (https://github.com/sambuaneesh)
2pkgname=playy
3pkgver=0.1.0
4pkgrel=1
5pkgdesc='Music player for the terminal: your music folder and YouTube Music in one library, offline or online'
6arch=('x86_64' 'aarch64')
7url='https://github.com/sambuaneesh/playy'
8license=('MIT')
9depends=('mpv' 'yt-dlp' 'ffmpeg' 'glibc')
10makedepends=('go')
11optdepends=('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')
15provides=('playy')
16conflicts=('playy-bin')
17source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
18sha256sums=('1e026c93844537661a335f5aada6a42e3d1d36b036502f767b959022b8721a70')
19
20prepare() {
21 cd "${pkgname}-${pkgver}"
22 export GOPATH="${srcdir}/gopath"
23 go mod download -x >/dev/null 2>&1 || go mod download
24}
25
26build() {
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
37check() {
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
43package() {
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)SeverityRules
2026-10-08 10:08:28 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