blob: b28c9139775cf1fd38711146246c8608a8d080aa (
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.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"
|