1 # Maintainer: Laszlo Papp <djszapi2 at gmail com>
5 pkgdesc="A MIPS64 instruction set simulator written in Java/Swing"
7 url="http://www.edumips.org"
9 depends=('sh' 'hicolor-icon-theme')
10 install=$pkgname.install
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.jar \
12 $pkgname.sh $pkgname.desktop \
13 $pkgname-16x16.png $pkgname-128x128.png)
14 noextract=($pkgname-$pkgver.jar)
15 md5sums=('25eba4b1ebdd40397d867a372bf86268'
16 'ac798adc058196a6a7dd759d7ff10950'
17 'ecd1730d4fcab7df25e837c8571562b6'
18 '14c528b437fab083961db856b3f6b55c'
19 '809c0f21f06f318894e9cd77175c5f83')
23 install -D -m644 $pkgname-$pkgver.jar ${pkgdir}/usr/share/java/$pkgname/$pkgname.jar || return 1
24 install -D -m755 $pkgname.sh ${pkgdir}/usr/bin/$pkgname || return 1
26 install -D -m644 $pkgname-${i}x${i}.png ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png || return 1
28 install -d -m755 ${pkgdir}/usr/share/pixmaps || return 1
29 ln -s ../icons/hicolor/128x128/apps/$pkgname.png ${pkgdir}/usr/share/pixmaps/$pkgname.png
30 gtk-update-icon-cache -q -t -f ${pkgdir}/usr/share/icons/hicolor