1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="Bill's Jammin' Jukebox for MPD and Squeezebox"
8 url="http://www.thejavashop.net/bjj/"
10 depends=('java-runtime')
11 optdepends=('mpd: Music Player Daemon back-end'
12 'squeezecenter: Squeezebox back-end')
13 source=(http://bjj.googlecode.com/files/bjj-$pkgver-linux.tar.gz
15 md5sums=('b33f796003d3743e455d7ed5bed07dee'
16 '30e5791e6c572756eae174dc51c89b2d'
17 '2f171afd5b4d23f056af7c976070d1e7')
20 cd "$srcdir/bjj-$pkgver"
21 install -dm755 "$pkgdir/usr/share/java/bjj/lib/"
22 install -m644 lib/* "$pkgdir/usr/share/java/bjj/lib/"
23 install -m644 bjj.jar "$pkgdir/usr/share/java/bjj/"
25 sed -i '2c\HERE=/usr/share/java/bjj' startBJJ.sh
26 install -Dm755 startBJJ.sh "$pkgdir/usr/bin/bjj"
27 install -Dm644 ../bjj.desktop "$pkgdir/usr/share/applications/bjj.desktop"
28 install -Dm644 ../bjj.xpm "$pkgdir/usr/share/pixmaps/bjj.xpm"