plex-tray

LOW
maintainer bpier 0 votes scanned 2026-11-03 22:05:32.218858
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: Pierre Bertet <hi@bpier.re>
2pkgname=plex-tray
3pkgver=0.1.0
4pkgrel=3
5pkgdesc='Desktop tray controls for the system Plex Media Server service'
6arch=('x86_64')
7url='https://github.com/bpierre/plex-tray'
8license=('MIT')
9# Runtime services and xdg-open are required even though they are not linked libraries.
10depends=('glibc' 'libgcc' 'dbus' 'systemd' 'polkit' 'plex-media-server' 'xdg-utils' 'hicolor-icon-theme')
11makedepends=('cargo')
12checkdepends=('desktop-file-utils')
13optdepends=('libnotify: desktop notifications for service errors')
14options=('!debug')
15source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
16sha256sums=('507c50e5fd9c3c6c1ff0c51df59ef145e7214824a65fce495991b8ef2ab6bda6')
17_target="$CARCH-unknown-linux-gnu"
18
19prepare() {
20 cd "$srcdir/$pkgname-$pkgver"
21 export RUSTUP_TOOLCHAIN=stable
22 cargo fetch --locked --target "$_target"
23}
24
25build() {
26 cd "$srcdir/$pkgname-$pkgver"
27 export RUSTUP_TOOLCHAIN=stable
28 export CARGO_TARGET_DIR=target
29 cargo build --release --frozen --target "$_target"
30}
31
32check() {
33 cd "$srcdir/$pkgname-$pkgver"
34 export RUSTUP_TOOLCHAIN=stable
35 export CARGO_TARGET_DIR=target
36 desktop-file-validate plex-tray.desktop
37 cargo test --frozen --target "$_target"
38 ./target/"$_target"/release/plex-tray --help >/dev/null
39}
40
41package() {
42 cd "$srcdir/$pkgname-$pkgver"
43 install -Dm755 target/"$_target"/release/plex-tray "$pkgdir/usr/bin/plex-tray"
44 install -Dm644 plex-tray.desktop "$pkgdir/usr/share/applications/plex-tray.desktop"
45 install -Dm644 icons/plex-tray.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/plex-tray.svg"
46 install -Dm644 icons/plex-tray-symbolic.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/plex-tray-symbolic.svg"
47 install -Dm644 50-plex-tray.rules "$pkgdir/usr/share/polkit-1/rules.d/50-plex-tray.rules"
48 install -Dm644 README.md "$pkgdir/usr/share/doc/plex-tray/README.md"
49 install -Dm644 CONTRIBUTING.md "$pkgdir/usr/share/doc/plex-tray/CONTRIBUTING.md"
50 install -Dm644 RELEASING.md "$pkgdir/usr/share/doc/plex-tray/RELEASING.md"
51 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/plex-tray/LICENSE"
52 ln -s ../../licenses/plex-tray/LICENSE "$pkgdir/usr/share/doc/plex-tray/LICENSE"
53}
54

Scan history

Scanned at (UTC)SeverityRules
2026-11-03 22:05:32 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