1 #Contributor: Will Foran <will.foran@gmail.com>
2 #copy-paste from quantax
7 pkgdesc="A proxy server for the last.fm radio streams that allows you to use your regular old audio player to listen to the last.fm streams."
8 url="http://vidar.gimp.org/lastfmproxy"
15 arch=('i686' 'x86_64')
16 source=(http://vidar.gimp.org/wp-content/uploads/2007/12/$pkgname-$pkgver.tar.gz)
17 md5sums=('6cc0def3634080e2610f99425cc85a82')
20 cd $startdir/src/$pkgname-$pkgver
23 install -d $startdir/pkg/usr/share/lastfmproxy/ \
24 $startdir/pkg/usr/share/lastfmproxy/data/ \
25 $startdir/pkg/usr/bin/
28 #install -D -m 644 * $startdir/pkg/usr/share/lastfmproxy/
29 cp -r * $startdir/pkg/usr/share/lastfmproxy/
30 chmod -R 644 $startdir/pkg/usr/share/lastfmproxy/*
31 install -D -m 644 data/* $startdir/pkg/usr/share/lastfmproxy/data/
32 install -D -m 755 main.py changestation.py $startdir/pkg/usr/share/lastfmproxy/
34 # create additional executables in $PATH
35 cd $startdir/pkg/usr/bin/
38 /usr/share/lastfmproxy/main.py" > lastfmproxy
39 # firefox protocol handler
41 /usr/share/lastfmproxy/changestation.py \$@" > lastfmproxy-station
43 chmod 755 lastfmproxy lastfmproxy-station