summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTrygve Aaberge2015-07-07 02:15:37 +0200
committerTrygve Aaberge2015-07-07 02:15:37 +0200
commit1cc63d367bb6a85404dd12643b7875dec83b021e (patch)
tree05a54b5e0f39bdcd6078c8b21ada891ed868def3 /PKGBUILD
downloadaur-mopidy-api-explorer.tar.gz
Initial import, version 1.0.1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..15d5828fe78
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Trygve Aaberge <trygveaa+aur at gmail dot com>
+
+pkgname=mopidy-api-explorer
+_pypiname=Mopidy-API-Explorer
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Mopidy extension which lets you explore the HTTP API"
+arch=('any')
+url="https://github.com/dz0ny/mopidy-api-explorer"
+license=('APACHE')
+depends=('python2' 'mopidy>=0.19')
+makedepends=('python2' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/M/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
+md5sums=('245a959dddfabccf796507d0ba2bf34a')
+
+package() {
+ cd "${srcdir}/${_pypiname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: