beets-git/PKGBUILD

42 lines
1.1 KiB
Bash
Raw Normal View History

2015-06-26 04:19:44 +00:00
# Maintainer: Adrian Sampson <adrian@radbox.org>
# Contributor: Johannes Löthberg <demizide@gmail.com>
pkgname=beets-git
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')
depends=('python2-munkres' 'mutagen'
'python2-setuptools' 'python2-unidecode'
'python2-musicbrainzngs' 'python2-yaml'
2016-07-27 20:30:54 +00:00
'python2-enum34' 'python2-jellyfish'
'python2-six')
2015-06-26 04:19:44 +00:00
makedepends=('git')
optdepends=('python2-pyacoustid: acoustic fingerprinting'
'python2-flask: web interface'
'python2-gobject: BPD audio player plugin'
2015-06-26 04:19:44 +00:00
'python2-pylast: lastgenre plugin')
provides=('beets')
conflicts=('beets')
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
python2 setup.py build
}
package() {
cd ${srcdir}/beets
python2 setup.py install --root=${pkgdir} --optimize=1
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}