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 makedepends=('mercurial')
18 _hgroot="https://beets.googlecode.com/hg/"
23 msg "Connecting to Mercurial server...."
25 if [ -d $_hgrepo ] ; then
28 msg "The local files are updated."
30 hg clone $_hgroot $_hgrepo
33 msg "Mercurial checkout done or server timeout"
34 msg "Starting setup.py build..."
36 rm -rf "$srcdir/$_hgrepo-build"
37 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
38 cd "$srcdir/$_hgrepo-build"
40 $python setup.py build || return 1
44 cd "$srcdir/$_hgrepo-build"
45 $python setup.py install --root=$pkgdir