aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-07 14:33:04 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-09 10:32:00 -0300
commita91385f0a245aac8e696572195d5e846f1f35a9f (patch)
tree02ba6fb068e96cbfb2300038a966ed367ae6bc73
parente713477ef5fbad466c983aba8e6d79feee3b98c1 (diff)
downloadaports-a91385f0a245aac8e696572195d5e846f1f35a9f.tar.gz
aports-a91385f0a245aac8e696572195d5e846f1f35a9f.tar.bz2
aports-a91385f0a245aac8e696572195d5e846f1f35a9f.tar.xz
community/mopidy: fix url
-rw-r--r--community/mopidy/APKBUILD20
1 files changed, 6 insertions, 14 deletions
diff --git a/community/mopidy/APKBUILD b/community/mopidy/APKBUILD
index afaeb617e5..742986b001 100644
--- a/community/mopidy/APKBUILD
+++ b/community/mopidy/APKBUILD
@@ -4,9 +4,10 @@
pkgname=mopidy
_pkgname=Mopidy
pkgver=2.2.2
-pkgrel=0
+pkgrel=1
pkgdesc="Mopidy is an extensible music server"
-url="http://www.mopidy.com/"
+options="!check" # Requires dependency testing/py-responses
+url="https://www.mopidy.com/"
arch="noarch"
license="Apache-2.0"
depends="python py-pykka py-tornado gst-plugins-base gst-plugins-good
@@ -21,22 +22,20 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
mopidy.initd
"
-_builddir="$srcdir"/$_pkgname-$pkgver
+builddir="$srcdir"/$_pkgname-$pkgver
pkgusers="mopidy"
pkggroups="audio"
build() {
- cd "$_builddir"
- python setup.py build
+ python2 setup.py build
make -C docs SPHINXBUILD=sphinx-build-2 man
make -C docs SPHINXBUILD=sphinx-build-2 html
}
package() {
- cd "$_builddir"
- python setup.py install --prefix=/usr --root="$pkgdir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm755 extra/mopidyctl/mopidyctl "${pkgdir}/usr/bin/mopidyctl"
install -dm755 "${pkgdir}/usr/share/doc/mopidy"
@@ -56,8 +55,6 @@ package() {
install -Dm755 "$srcdir/$pkgname.initd" \
"$pkgdir/etc/init.d/$pkgname"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
install -dm755 -o mopidy -g audio \
"${pkgdir}/etc/mopidy/extensions.d" \
"${pkgdir}/var/log/mopidy" \
@@ -66,11 +63,6 @@ package() {
"${pkgdir}/var/lib/mopidy/playlists"
}
-check() {
- cd "$_builddir"
- python -m mopidy --help > /dev/null
-}
-
sha512sums="3ae9d1c4cc7b002095928a9c1b683ad94c4190c21b1451c176fdcf8c6daa174433a1be967d4143d03d4eeb2bfc680f7ab37d23a10fef9be76fc6e68bd0402ec1 Mopidy-2.2.2.tar.gz
eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea mopidy.conf
0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388 logging.conf