blob: 13b0f57960995e25e10c83622c7f7aec21150cce (
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
42
43
|
# Maintainer: Spencer Muise <smuise@spencermuise.ca>
pkgname=plex-mpv-shim-git
_name=plex-mpv-shim
pkgver=v1.7.16.r3.ga92bb01
pkgrel=1
pkgdesc="Cast media from Plex Mobile and Web apps to MPV"
arch=('any')
url='https://github.com/iwalton3/plex-mpv-shim'
license=('MIT')
depends=(
'python'
'mpv'
'python-mpv'
'python-requests'
'python-mpv-jsonipc'
)
optdepends=(
'python-pystray'
'tk'
)
makedepends=(
'git'
'python-setuptools'
)
source=("git+https://github.com/iwalton3/$_name.git")
sha256sums=('SKIP')
pkgver() {
cd $_name
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_name
python setup.py build
}
package() {
cd $_name
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|