summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2021-01-20 02:48:45 +0100
committerFrederik “Freso” S. Olesen2021-01-20 02:48:45 +0100
commitf6d91707e858e6df8bbfb27100dd23c990fbaa21 (patch)
treefad4dc3a159a1b02472f62a6f925e5068d9df449 /PKGBUILD
parent20be019c8447e790e02c432d1d1b15558f6dc063 (diff)
downloadaur-f6d91707e858e6df8bbfb27100dd23c990fbaa21.tar.gz
mopidy-beets 4.0.1
Version bump + update/modernise PKGBUILD somewhat
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5f5cf09baee..5ac669d2c69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,31 @@
-# Maintainer: Alexandre Petitjean <alpetitjean at gmail dot com>
+# Maintainer: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
+# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com>
pkgname=mopidy-beets
-pkgver=3.1.0
-pkgrel=0
+_name=Mopidy-Beets
+pkgver=4.0.1
+pkgrel=1
pkgdesc="Mopidy extension for playing music from a Beets collection"
arch=('any')
-url="http://www.mopidy.com"
-license=('APACHE')
+url='https://mopidy.com/ext/beets/'
+license=('MIT')
depends=(
- 'mopidy>=1.0'
- 'python2-pykka>=1.1'
- 'python2-setuptools'
- 'python2-requests>=2.0')
-makedepends=('python2')
-provides=('mopidy-beets')
-source=("https://github.com/mopidy/${pkgname}/archive/v${pkgver}.tar.gz")
-md5sums=('e79ee3aedf69ffda71b21a1da97de621')
+ 'mopidy>=3'
+ 'python-pykka>=2.0.1'
+ 'python-setuptools'
+ 'python-requests>=2')
+makedepends=('python')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('6a3310f12da35bd737763ffbe7bab2301ad8340d74470d222817d2c39ba2a0d1')
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py build
+}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- python2 setup.py install --root="$pkgdir/" --optimize=1
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et: