summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Muise2020-03-11 23:17:06 -0300
committerSpencer Muise2020-03-11 23:17:06 -0300
commit989ced2f88ba47f05fdf8fbdcd6133c2693022b6 (patch)
tree6030ebd01870d0d6abdbf6907c0cadcee37e8397
downloadaur-989ced2f88ba47f05fdf8fbdcd6133c2693022b6.tar.gz
Initial upload: python-mpv-jsonipc 1.1.7-1
Add python-mpv-jsonipc
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6b84f1108c0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-mpv-jsonipc
+ pkgdesc = Python API to MPV using JSON IPC
+ pkgver = 1.1.7
+ pkgrel = 1
+ url = https://github.com/iwalton3/python-mpv-jsonipc
+ arch = any
+ license = GPL3
+ makedepends = python-setuptools
+ depends = python
+ source = python-mpv-jsonipc-1.1.7.tar.gz::https://github.com/iwalton3/python-mpv-jsonipc/archive/v1.1.7.tar.gz
+ md5sums = c4c9ae4e60033de02baee53a3692b0b9
+
+pkgname = python-mpv-jsonipc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0976fb667bc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Spencer Muise <smuise@spencermuise.ca>
+
+pkgname=python-mpv-jsonipc
+pkgver=1.1.7
+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://github.com/iwalton3/$pkgname/archive/v$pkgver.tar.gz")
+md5sums=('c4c9ae4e60033de02baee53a3692b0b9')
+
+build() {
+ cd $pkgname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}