diff options
-rw-r--r-- | testing/py-mopidy-mopify/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-mopidy-mopify/APKBUILD b/testing/py-mopidy-mopify/APKBUILD new file mode 100644 index 0000000000..507c6c595f --- /dev/null +++ b/testing/py-mopidy-mopify/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-py-mopidy-mopify +pkgver=1.1.2 +pkgrel=0 +pkgdesc="a full music experience web client for Mopidy" +url="https://github.com/martijnboland/mopidy-mopify" +arch="noarch" +license="Apache" +depends="python mopidy" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="https://pypi.python.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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="c050bbc9255684e2082f09de231adc38 Mopidy-Mopify-1.1.2.tar.gz" +sha256sums="641e81e7ee09560b08f67793b89efe62ee84f183a99d5ad92b3b219d018ed4d2 Mopidy-Mopify-1.1.2.tar.gz" +sha512sums="d4874cdbeeb6584d46f24209f1f3f9efb503b2b1af3975c854afc7a45b4a7b60aafad1a09c6a10bf8b3424a727214a5ff436903a64f742a9fc78adc7a1f6b715 Mopidy-Mopify-1.1.2.tar.gz" |