pkgname=abzer-git
pkgver=8fe1b37
pkgrel=1
pkgdesc="AcousticBrainz submission tool"
arch=("any")
url="https://github.com/mineo/abzer"
license=('MIT')
source=('git+https://github.com/mineo/abzer')
md5sums=('SKIP')
depends=('essentia-acousticbrainz' 'python' 'python-aiohttp')
makedepends=('git')

pkgver(){
  cd "${srcdir}/abzer"
  echo "$(git describe --tags --always | sed 's/-/./g' )"
}

package() {
  cd "${srcdir}/abzer"
  python setup.py install --root="$pkgdir" --optimize=1
}
