updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / jmpd / PKGBUILD
blob53eb45fa6f2f3938fd432690952de5d7516ebfac
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=jmpd
4 pkgver=0.1.2
5 pkgrel=1
6 pkgdesc="A simple Java client for MPD"
7 arch=('any')
8 url="http://en.tom000.info/portfolio/jmpd_-_mpd_client.html"
9 license=('GPL3')
10 depends=('java-runtime')
11 source=(http://tom000.info/share/jmpd/jmpd-$pkgver.tar.bz2
12         jmpd.desktop)
13 md5sums=('a8184c50b0a037d620f7271a17f5c44a'
14          '05bebf544166be3771001cd985c7735d')
16 build() {
17   cd "$srcdir/jMPD"
18   sed -i 's#opt/jMPD#usr/share/java/jmpd#; s#$# &> /tmp/jmpd.log#' jMPD
19   install -Dm755 jMPD "$pkgdir/usr/share/jmpd/jMPD"
20   install -Dm644 jMPD.jar "$pkgdir/usr/share/java/jmpd/jMPD.jar"
21   install -Dm644 lib/AbsoluteLayout.jar \
22     "$pkgdir/usr/share/java/jmpd/lib/AbsoluteLayout.jar"
23   install -Dm644 jMPD.png "$pkgdir/usr/share/pixmaps/jmpd.png"
24   install -Dm644 ../jmpd.desktop "$pkgdir/usr/share/applications/jmpd.desktop"
25   install -dm755 "$pkgdir/usr/bin"
26   ln -sf /usr/share/jmpd/jMPD "$pkgdir/usr/bin/jmpd"