blob: e41c6440c7ba89f2800ce6eca30eb2fcf2262710 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: so1omon
pkgname=plex-tui
pkgver=0.17.24
pkgrel=1
pkgdesc="Standalone Plex terminal UI with mpv playback"
arch=("any")
url="https://github.com/so1omon563/plex-tui"
license=("MIT")
depends=(
"mpv"
"python"
"python-pillow"
"python-platformdirs"
"python-plexapi"
"python-rich"
"python-textual"
)
makedepends=(
"python-build"
"python-hatchling"
"python-installer"
"python-wheel"
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("b55d7a36529fc14e027a5fb77942ffd9075798d3302d3222c725efc4a1920aa1")
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
check() {
cd "$pkgname-$pkgver"
PYTHONPATH=src python -m plextui.smoke
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|