pkgname=beets-git pkgver=1.3.6.r133.gc5f23cc pkgrel=1 pkgdesc="Flexible music library manager and tagger - git version" url="http://beets.radbox.org/" arch=('any') license=('MIT') depends=('python2-munkres' 'mutagen' 'python2-setuptools' 'python2-unidecode' 'python2-musicbrainzngs' 'python2-yaml') optdepends=('python2-pyacoustid: acoustic fingerprinting' 'python2-flask: web interface' 'gstreamer0.10-python: BPD audio player plugin' 'python2-pylast: lastgenre plugin') makedepends=('git') provides=('beets') conflicts=('beets') source=('git+https://github.com/sampsyo/beets.git') md5sums=('SKIP') pkgver() { cd beets git describe --tags --long | sed 's/^v//; s/-/-r/; s/-/./g' } build() { cd beets python2 setup.py build } package() { cd beets python2 setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }