APKBUILD 1.1 KB
Newer Older
1 2 3
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-mopidy-moped
4
pkgver=0.4.2
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
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
}

38 39 40
md5sums="b58c1aed8052b3982d11474a4d3918fd  Mopidy-Moped-0.4.2.tar.gz"
sha256sums="0fcbbe90b28b1a6e39bceb74e0b16c9bc4c645a2e8b9ed4ed9de394c775ea40f  Mopidy-Moped-0.4.2.tar.gz"
sha512sums="edf5df3cc4a8c31e5d9907a87e48a2ce5b10c856a0bb445ff90d48113db00902719d8f2f0f0afed671b795eb75c8cd7752776ecc114f776f39cd09309ffa754e  Mopidy-Moped-0.4.2.tar.gz"