1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: archtux <antonio.arias99999@gmail.com>
7 pkgdesc="Application for downloading and playing music from grooveshark.com"
9 url="https://bitbucket.org/vkolev/gsharkdown"
11 depends=('gstreamer0.10-python' 'python-configobj' 'dbus-python' 'python-pycurl')
12 optdepends=('python2-pylast: last.fm support'
13 'python-notify: notification support'
14 'xdg-user-dirs: autodetect xdg music dir'
15 'libappindicator: indicator integration')
16 install="$pkgname.install"
17 source=("https://bitbucket.org/vkolev/gsharkdown/get/$pkgname-$pkgver.tar.bz2"
18 "$pkgname.desktop" "$pkgname.sh")
19 md5sums=('b11122d26df3dacd1d0ed2f481112eac'
20 '81869090135791eba7e658619f4eafdd'
21 'ede76e8bd3dcb1156e01f377a6c49cac')
31 install -Dm755 ../$pkgname.sh \
32 "$pkgdir/usr/bin/$pkgname"
35 install -d "$pkgdir/usr/share/$pkgname"
36 cp -a * "$pkgdir/usr/share/$pkgname"
39 install -Dm644 data/gsharkdown_64.png \
40 "$pkgdir/usr/share/pixmaps/$pkgname.png"
43 install -Dm644 ../$pkgname.desktop \
44 "$pkgdir/usr/share/applications/$pkgname.desktop"
47 sed -i "s|env python|&2|" `grep -rl "env python" "$pkgdir"`