aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-08-13 23:44:18 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-08-14 03:12:15 +0000
commit1d7e8bc99eeb58e578e845218e4245b6f554da28 (patch)
treee9393d4a7538e690607e8e0314b4185d827a5fb7
parent1e5a276141e5977eba7f162fe7b166eee0fc61df (diff)
downloadaports-1d7e8bc99eeb58e578e845218e4245b6f554da28.tar.gz
aports-1d7e8bc99eeb58e578e845218e4245b6f554da28.tar.bz2
aports-1d7e8bc99eeb58e578e845218e4245b6f554da28.tar.xz
community/mopidy: use GitHub source, install .desktop file
-rw-r--r--community/mopidy/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/mopidy/APKBUILD b/community/mopidy/APKBUILD
index 521ddcd814..162eb45f23 100644
--- a/community/mopidy/APKBUILD
+++ b/community/mopidy/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mopidy
pkgver=3.0.2
-pkgrel=3
+pkgrel=4
pkgdesc="Mopidy is an extensible music server"
url="https://www.mopidy.com/"
arch="noarch !armhf !armv7" # Test failures with exceptions
@@ -17,12 +17,11 @@ makedepends="python3-dev py3-sphinx graphviz py3-sphinx_rtd_theme"
checkdepends="py3-pytest py3-responses"
install="$pkgname.pre-install $pkgname.post-deinstall"
subpackages="$pkgname-doc $pkgname-openrc"
-source="https://files.pythonhosted.org/packages/source/M/Mopidy/Mopidy-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/mopidy/mopidy/archive/v$pkgver.tar.gz
mopidy.conf
logging.conf
mopidy.initd
"
-builddir="$srcdir/Mopidy-$pkgver"
pkgusers="mopidy"
pkggroups="audio"
@@ -41,6 +40,7 @@ check() {
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm755 extra/mopidyctl/mopidyctl "$pkgdir/usr/bin/mopidyctl"
+ install -Dm644 extra/desktop/mopidy.desktop -t "$pkgdir"/usr/share/applications
install -dm755 "$pkgdir/usr/share/doc/mopidy"
cp -r build/sphinx/html "$pkgdir/usr/share/doc/mopidy"
@@ -67,7 +67,7 @@ package() {
"$pkgdir/var/lib/mopidy/playlists"
}
-sha512sums="485b7c51a7b70362744c7262a72b76159123853da181a757ab838f8ce791be6bf539085f1029475d564237d5b19df59470944d3935113177eae283841ae6836a Mopidy-3.0.2.tar.gz
+sha512sums="bf1f30b207be3b82ce7bf8fc432c232d64bf5f951bd7e1ad28b3a54cfb8ec16e707eaf156c45e124a95749eca32db4b4adeeb94b1f9f47608ef70b86c9296b4c mopidy-3.0.2.tar.gz
eb66e8e826640a939b1ba51569ab7fab041b8b5e8823ea2d5f05596faf1de8882fd8c1c32bdb92534e759243fb5ff741bda0d2ebb3282af542d1287c8c68b5ea mopidy.conf
0c438058500ab7559baae21b03b10e2b80b10c77776b240b2100da1f4c84ea8efe24dc7a38a95034e75605eaf5d21604d13e5b8c7358778c555ddb6372a49388 logging.conf
8492ac223c32e4a0bb0ae64348ed0a5928cc98c0ce713eff5948b12e09860f83a9de5377117f85fd9ad54643201aadd84f68494e773aa8c1bba97fa992bd9dbe mopidy.initd"