4 pkgdesc="MusicBrainz tagging application"
6 url="http://musicbrainz.org/doc/MusicBrainz_Picard"
8 depends=('python2-qt' 'mutagen' 'libofa' 'ffmpeg')
9 optdepends=('libdiscid: CD-Lookup feature'
10 'chromaprint: AcoustID integration')
13 conflicts=('picard' 'picard-qt' 'picard-bzr')
15 _gitroot=https://github.com/musicbrainz/picard.git
20 msg "Connecting to GIT server...."
22 if [[ -d "$_gitname" ]]; then
23 cd "$_gitname" && git pull origin
24 msg "The local files are updated."
26 git clone "$_gitroot" "$_gitname"
29 msg "GIT checkout done or server timeout"
30 msg "Starting build..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 python2 setup.py config
37 python2 setup.py build
41 cd "$srcdir/$_gitname-build"
42 python2 setup.py install --root=$pkgdir