updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / napster-dl / PKGBUILD
blobf4842e17868a42801450938693ca9725247b5124
1 # Contributor: Christoph Zeiler <rabyteNOSPAM_at_gmx.dot.org>
3 pkgname=napster-dl
4 pkgver=0.6
5 pkgrel=5
6 pkgdesc="A Java-based application for downloading songs from free.napster.com"
7 arch=('any')
8 url="http://www.jkcool.com/$pkgname/"
9 license=('GPL')
10 depends=('java-runtime')
11 source=(http://www.jkcool.com/$pkgname/$pkgname-$pkgver.zip \
12         $pkgname.sh \
13         $pkgname.desktop)
14 md5sums=('aa1e71999aa71f78d5fd3b111546f09e'
15          'aebf5362e030263fdb93238e28b34952'
16          'e713ce1ba0643373cda8259067fda65a')
18 build() {
19   cd $pkgname/dist
21   find -type f -exec chmod 644 {} \;
22   mkdir -p "$pkgdir"/usr/share/$pkgname
23   cp -rf $pkgname.jar lib/ "$pkgdir"/usr/share/$pkgname/
25   install -Dm755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
26   install -Dm644 ../src/napsterdl/res/napster_head.png \
27         "$pkgdir"/usr/share/pixmaps/$pkgname.png
28   install -Dm644 "$srcdir"/$pkgname.desktop \
29         "$pkgdir"/usr/share/applications/$pkgname.desktop
32 # vim:set ts=2 sw=2 et: