diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-16 13:39:55 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-16 13:40:49 +0200 |
commit | 1f2be1045f178be10be646ad8a88e3fe6adf146f (patch) | |
tree | fa1ab557ad2759c534475172e7a215311fc9b9f5 /testing/py-mopidy-moped/APKBUILD | |
parent | 7164e3df17e48a936609a11b2d49607fb4b60c6e (diff) | |
download | aports-1f2be1045f178be10be646ad8a88e3fe6adf146f.tar.bz2 aports-1f2be1045f178be10be646ad8a88e3fe6adf146f.tar.xz |
testing/py-mopidy-moped: new aport
Diffstat (limited to 'testing/py-mopidy-moped/APKBUILD')
-rw-r--r-- | testing/py-mopidy-moped/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-mopidy-moped/APKBUILD b/testing/py-mopidy-moped/APKBUILD new file mode 100644 index 0000000000..b28c913977 --- /dev/null +++ b/testing/py-mopidy-moped/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-mopidy-moped +pkgver=0.4.0 +pkgrel=0 +pkgdesc="Responsive Web client for Mopidy" +url="https://github.com/martijnboland/moped" +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-Moped/Mopidy-Moped-$pkgver.tar.gz" + +_builddir="$srcdir"/Mopidy-Moped-$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="73297b46ce1dcb79483999e082b9f1fe Mopidy-Moped-0.4.0.tar.gz" +sha256sums="8f8aaaf96c77d3e71446546dacdc7c853964e461fc791aac6bbce9cb39c35bc3 Mopidy-Moped-0.4.0.tar.gz" +sha512sums="b185ef6c8980363f9c8466e9932621aee781588e91fe3a5f01baf92da238ccee4d1e2971ee7982a33bde835392f79e5ff9510965b5927f709d66964a7d441861 Mopidy-Moped-0.4.0.tar.gz" |