blob: 6cc78f24ae40fbb0639fc8b628cd322fc7dcdf05 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=mopidy
pkgver=0.19.5
pkgrel=0
pkgdesc="Mopidy is an extensible music server"
url="http://www.mopidy.com/"
arch="noarch"
license="Apache"
depends="python py-pykka py-tornado gst-plugins-base0.10 gst-plugins-good0.10
gst-plugins-ugly0.10 py-gst0.10 py-setuptools"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="https://pypi.python.org/packages/source/M/Mopidy/Mopidy-$pkgver.tar.gz
mopidy.conf"
_builddir="$srcdir"/Mopidy-$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
install -Dm640 "${srcdir}/mopidy.conf" \
"${pkgdir}/etc/mopidy/mopidy.conf" || return 1
install -dm755 "${pkgdir}/etc/mopidy/extensions.d"
install -dm755 "${pkgdir}/var/cache/mopidy"
install -dm755 "${pkgdir}/var/log/mopidy"
install -dm755 "${pkgdir}/var/lib/mopidy/local"
install -dm755 "${pkgdir}/var/lib/mopidy/media"
install -dm755 "${pkgdir}/var/lib/mopidy/playlists"
}
md5sums="60bbbdc3cda9ab723d7da1495f558d44 Mopidy-0.19.5.tar.gz
f198485317cd1f481b9b9a369e122833 mopidy.conf"
sha256sums="940604eadd6435ebf7a85bbc0f15ea57a7fdf5e7e276da17732955ab10050627 Mopidy-0.19.5.tar.gz
3c2a00efb9784ed639bb84f6b07a127573d5a6d08d47983867f2b73ee3398de8 mopidy.conf"
sha512sums="6c11d6751c85c3b101619611b438610507431dcf72d7a5dbd4a7763fc86c6d93216c695aa462cb69c600d9399e4b513632d2ac7b76dfd4facb7cfda9fb954d0d Mopidy-0.19.5.tar.gz
593f872d072b32d3da92b8e60ad486c9ca6fa68eae5235e7724f3837d1fa4627694b5ebc8aaacedfba22c701e558e1d60b2f9c97139621a0eead3319446fe300 mopidy.conf"
|