Add 'python-mpv-jsonipc/' from commit '82bfa595b70fc1abe6ff81a175c397c6ea008b5e'

git-subtree-dir: python-mpv-jsonipc
git-subtree-mainline: 6476eec176
git-subtree-split: 82bfa595b7
This commit is contained in:
2021-12-02 09:43:22 +01:00
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# Maintainer: Spencer Muise <smuise@spencermuise.ca>
pkgname=python-mpv-jsonipc
pkgver=1.1.13
pkgrel=1
pkgdesc="Python API to MPV using JSON IPC"
arch=('any')
url='https://github.com/iwalton3/python-mpv-jsonipc'
license=('GPL3')
depends=(
'python'
)
makedepends=(
'python-setuptools'
)
source=("$pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('1b9e61105136b50996db5844d1a2bf0e')
build() {
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}