aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-mopidy-moped/APKBUILD
blob: 3599ddc8306ed4566d141b656654e4c80d99a4be (plain)
1
2
3
4
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
38
39
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"