diff options
Diffstat (limited to 'unmaintained/py-mopidy-mopify/APKBUILD')
-rw-r--r-- | unmaintained/py-mopidy-mopify/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/py-mopidy-mopify/APKBUILD b/unmaintained/py-mopidy-mopify/APKBUILD new file mode 100644 index 0000000000..ff69003f54 --- /dev/null +++ b/unmaintained/py-mopidy-mopify/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-mopidy-mopify +pkgver=1.3.2 +pkgrel=0 +pkgdesc="a full music experience web client for Mopidy" +url="https://github.com/martijnboland/mopidy-mopify" +arch="noarch" +license="Apache" +depends="python2 mopidy" +depends_dev="" +makedepends="python2-dev py-setuptools" +install="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/M/Mopidy-Mopify/Mopidy-Mopify-$pkgver.tar.gz" + +_builddir="$srcdir"/Mopidy-Mopify-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python2 setup.py build || return 1 +} + +package() { + cd "$_builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="62921f95197ff8902f269220b22fffdf Mopidy-Mopify-1.3.2.tar.gz" +sha256sums="60bd41567b1d82ad03f434543b73652eb845f20c7c66fdf06eda117d41233a27 Mopidy-Mopify-1.3.2.tar.gz" +sha512sums="b52609c1bdf6e86108a7e1ebed01a78a9d4a32c66e525698ecd2f86e3e041862337df13a20044c11138c8083ad4170fc80cb8a7daece079501cf9636bb4b4b5f Mopidy-Mopify-1.3.2.tar.gz" |