2015-06-26 04:19:44 +00:00
|
|
|
# Maintainer: Adrian Sampson <adrian@radbox.org>
|
|
|
|
# Contributor: Johannes Löthberg <demizide@gmail.com>
|
|
|
|
|
2016-08-28 21:36:09 +00:00
|
|
|
pkgname=beets-python3-git
|
2015-06-26 04:19:44 +00:00
|
|
|
pkgver=1.3.11.r31.ga0ff517
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Flexible music library manager and tagger - git version"
|
|
|
|
arch=('any')
|
2016-07-27 17:38:42 +00:00
|
|
|
url="http://beets.io/"
|
2015-06-26 04:19:44 +00:00
|
|
|
license=('MIT')
|
2016-08-17 08:43:29 +00:00
|
|
|
depends=('python-munkres' 'mutagen'
|
|
|
|
'python-setuptools' 'python-unidecode'
|
|
|
|
'python-musicbrainzngs' 'python-yaml'
|
2017-01-10 11:22:09 +00:00
|
|
|
'python-jellyfish' 'python-six')
|
2015-06-26 04:19:44 +00:00
|
|
|
makedepends=('git')
|
2016-08-17 08:43:29 +00:00
|
|
|
optdepends=('python-pyacoustid: acoustic fingerprinting'
|
|
|
|
'python-flask: web interface'
|
|
|
|
'python-gobject: BPD audio player plugin'
|
|
|
|
'python-pylast: lastgenre plugin')
|
|
|
|
provides=('beets' 'beets-git')
|
|
|
|
conflicts=('beets' 'beets-git')
|
2016-07-27 17:38:42 +00:00
|
|
|
source=('git://github.com/beetbox/beets.git')
|
2015-06-26 04:19:44 +00:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd ${srcdir}/beets
|
|
|
|
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/beets
|
2016-08-17 08:43:29 +00:00
|
|
|
python setup.py build
|
2015-06-26 04:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/beets
|
2016-08-17 08:43:29 +00:00
|
|
|
python setup.py install --root=${pkgdir} --optimize=1
|
2015-06-26 04:19:44 +00:00
|
|
|
|
|
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|