diff options
Diffstat (limited to 'unmaintained/py-mopidy-moped/APKBUILD')
-rw-r--r-- | unmaintained/py-mopidy-moped/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/py-mopidy-moped/APKBUILD b/unmaintained/py-mopidy-moped/APKBUILD new file mode 100644 index 0000000000..3599ddc830 --- /dev/null +++ b/unmaintained/py-mopidy-moped/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-mopidy-moped +pkgver=0.4.4 +pkgrel=0 +pkgdesc="Responsive Web client for Mopidy" +url="https://github.com/martijnboland/moped" +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-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" + python2 setup.py build || return 1 +} + +package() { + cd "$_builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="b9ee40e59e422348f7bbeab50fa0ce0d Mopidy-Moped-0.4.4.tar.gz" +sha256sums="cab09486d93abf9ff158f9f4b7bdc93b9a58e64c78d409c7b612c839d62f077f Mopidy-Moped-0.4.4.tar.gz" +sha512sums="6871ccb1794d8da375b4de550e76ab8699cf453cfb36c3f67fea57df03584136a44f218017f78535ea64a86d4c2bc7c2a6c4d512351ae0ad7802aea1c71f32b9 Mopidy-Moped-0.4.4.tar.gz" |