1 # Maintainer: Adrian Sampson <adrian@radbox.org>
8 pkgdesc="flexible music library manager and tagger - dev version"
10 url="http://beets.radbox.org/"
12 depends=('python2-munkres' 'mutagen'
13 'python2-distribute' 'python-unidecode'
14 'python2-musicbrainzngs')
15 makedepends=('mercurial')
19 _hgroot="https://beets.googlecode.com/hg/"
24 msg "Connecting to Mercurial server...."
26 if [ -d $_hgrepo ] ; then
29 msg "The local files are updated."
31 hg clone $_hgroot $_hgrepo
34 msg "Mercurial checkout done or server timeout"
35 msg "Starting setup.py build..."
37 rm -rf "$srcdir/$_hgrepo-build"
38 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
39 cd "$srcdir/$_hgrepo-build"
41 $python setup.py build || return 1
45 cd "$srcdir/$_hgrepo-build"
46 $python setup.py install --root=$pkgdir