1 # Contributor: Aleksey Frolov <aleks.lifey@gmail.com>
6 pkgdesc="Music player aiming to be small and fast. Latest developing version from mercurial repository."
8 url=('http://bitbucket.org/A2K/vplayer')
10 depends=('python' 'pyqt' 'qt' 'python-xlib' 'python-chardet' 'mutagen')
11 makedepends=('mercurial')
17 _hgroot=http://bitbucket.org/A2K
23 if [ -d $_hgrepo ]; then
24 cd $startdir/src/$_hgrepo
27 hg clone $_hgroot/$_hgrepo || return 1
28 cd $startdir/src/$_hgrepo
31 cp -rf $startdir/src/$_hgrepo $startdir/src/$_hgrepo-build
32 cd $startdir/src/$_hgrepo-build
35 make resources || return 1
36 make translations || return 1
38 python setup.py install --root=$startdir/pkg/ || return 1
40 install -Dm755 vplayer $startdir/pkg/usr/bin/vplayer
41 install -Dm644 vplayer.desktop $startdir/pkg/usr/share/applications/vplayer.desktop
42 install -Dm644 icon.svg $startdir/pkg/usr/share/pixmaps/vplayer.svg
43 install -Dm644 icon.xpm $startdir/pkg/usr/share/pixmaps/vplayer.xpm
44 install -Dm644 icon.png $startdir/pkg/usr/share/pixmaps/vplayer.png
46 rm -rf $startdir/src/$_hgrepo-build