beets-git/PKGBUILD
Frederik “Freso” S. Olesen da28ee41c7
beets-git 1.4.3.r3.ga2d37dd5-1
Version bump.
2017-01-10 12:39:05 +01:00

42 lines
1.1 KiB
Bash

# Maintainer: Adrian Sampson <adrian@radbox.org>
# Contributor: Johannes Löthberg <demizide@gmail.com>
pkgname=beets-git
pkgver=1.4.3.r3.ga2d37dd5
pkgrel=1
pkgdesc="Flexible music library manager and tagger - git version"
arch=('any')
url="http://beets.io/"
license=('MIT')
depends=('python2-munkres' 'mutagen'
'python2-setuptools' 'python2-unidecode'
'python2-musicbrainzngs' 'python2-yaml'
'python2-enum34' 'python2-jellyfish'
'python2-six')
makedepends=('git')
optdepends=('python2-pyacoustid: acoustic fingerprinting'
'python2-flask: web interface'
'python2-gobject: BPD audio player plugin'
'python2-pylast: lastgenre plugin')
provides=('beets')
conflicts=('beets')
source=('git+https://github.com/beetbox/beets.git')
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"
}