1 # Maintainer: TDY <tdy@gmx.com>
2 # Contributor: Joao Rodrigues <gothicknight (at) gmail (dot) com>
7 pkgdesc="A full-featured audio player and manager"
9 url="http://www.atunes.org/"
11 depends=('java-runtime>=6' 'mplayer')
12 optdepends=('cdrkit: for ripping CDs via cdda2wav'
13 'vorbis-tools: for ripping Ogg Vorbis via oggenc')
14 install=atunes.install
15 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
17 md5sums=('57437908d66d055f7a44888d3e11f27e'
18 'e00f8bcc3df45734295a37815934ba14')
21 cd "$srcdir/$pkgname-$pkgver-SNAPSHOT"
22 sed -i "21 c\cd /usr/share/java/$pkgname" aTunes.sh
23 install -Dm755 aTunes.sh "$pkgdir/usr/bin/$pkgname"
24 install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
25 install -Dm644 ../$pkgname.desktop \
26 "$pkgdir/usr/share/appliactions/$pkgname.desktop"
27 install -dm755 "$pkgdir/usr/share/java/$pkgname/lib"
28 install -m644 lib/* "$pkgdir/usr/share/java/$pkgname/lib"
29 install -m644 *.{ico,jar,so} "$pkgdir/usr/share/java/$pkgname"