1 # Maintainer: archtux <antonio.arias99999 at gmail.com>
6 pkgdesc="A Grooveshark song downloader in Python"
7 url="https://github.com/jacktheripper51/groove-dl"
10 depends=('python2' 'python2-objectlistview' 'wxpython')
13 _gitroot="https://github.com/jacktheripper51"
14 _gitname="groove-dl.git"
19 msg "Connecting to GIT server...."
21 if [ -d $srcdir/$_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot/$_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 cp -r ${srcdir}/groove-dl ${srcdir}/$_gitname-build
36 sed -i '/MessageBox/d' gui.py
38 install -d $pkgdir/usr/share/groove-dl
39 chmod 755 -R $pkgdir/usr/share/groove-dl
40 cp * $pkgdir/usr/share/groove-dl
43 install -Dm644 ../misc/groove.ico $pkgdir/usr/share/pixmaps/groove.ico
45 install -Dm644 groove-dl.desktop $pkgdir/usr/share/applications/groove-dl.desktop
48 install -Dm755 groove-dl $pkgdir/usr/bin/groove-dl