summarylogtreecommitdiffstats
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
parent20be019c8447e790e02c432d1d1b15558f6dc063 (diff)
downloadaur-f6d91707e858e6df8bbfb27100dd23c990fbaa21.tar.gz
mopidy-beets 4.0.1
Version bump + update/modernise PKGBUILD somewhat
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD36
2 files changed, 32 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4214ce87558..3cea9c3a557 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,17 @@
-# Generated by mksrcinfo v8
-# Sat Oct 28 19:23:45 UTC 2017
pkgbase = mopidy-beets
pkgdesc = Mopidy extension for playing music from a Beets collection
- pkgver = 3.1.0
- pkgrel = 0
- url = http://www.mopidy.com
+ pkgver = 4.0.1
+ pkgrel = 1
+ url = https://mopidy.com/ext/beets/
arch = any
- license = APACHE
- makedepends = python2
- depends = mopidy>=1.0
- depends = python2-pykka>=1.1
- depends = python2-setuptools
- depends = python2-requests>=2.0
- provides = mopidy-beets
- source = https://github.com/mopidy/mopidy-beets/archive/v3.1.0.tar.gz
- md5sums = e79ee3aedf69ffda71b21a1da97de621
+ license = MIT
+ makedepends = python
+ depends = mopidy>=3
+ depends = python-pykka>=2.0.1
+ depends = python-setuptools
+ depends = python-requests>=2
+ source = https://files.pythonhosted.org/packages/source/M/Mopidy-Beets/Mopidy-Beets-4.0.1.tar.gz
+ sha256sums = 6a3310f12da35bd737763ffbe7bab2301ad8340d74470d222817d2c39ba2a0d1
pkgname = mopidy-beets
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: