# Description: MusicBrainz's audio files tagger.
# URL: https://picard.musicbrainz.org
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: chromaprint python3-discid python3-mutagen python3-pyqt5

name=picard
version=2.3.2
release=1
source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/$name/$name-$version.tar.gz)

build () {
  cd $name-release-$version
  sed -i '/import sip/d' setup.py
  sed -i '/^sip.setapi/d' setup.py
  python3 setup.py config
  python3 setup.py install --root=$PKG --prefix=/usr
  rm -rf $PKG/usr/share/locale
}