1 # Contributor: Bug <bug2000@gmail.com>
2 # Maintainer: Bug <bug2000@gmail.com>
6 pkgdesc="Java PSP Emulator"
9 url="http://jpcsp.org/"
13 install=('jpcsp.install')
15 md5sums=('cc911bfe236ee015bd2afdf9d607f91c'
16 '44a680a4797eec6394cf131010ca23c1'
17 'cd39aad03798576eb5228ed4184885c8')
18 [ "$CARCH" = "x86_64" ] && {
20 md5sums=('9de05a97eb43f7a639967d93b318e420'
21 '5920b514ad044430d8f71243ac2e2e63'
22 'cd39aad03798576eb5228ed4184885c8')
24 sed -i 's/-x86/-amd64/g' jpcsp.sh
26 source=(${pkgname}${pkgver}.7z::"http://jpcsp.googlecode.com/files/jpcsp-1772-linux-$_pkgarch.7z"
32 7z x ${pkgname}${pkgver}.7z -w$PWD
33 cd "jpcsp-linux-$_pkgarch"
34 mkdir -p "$pkgdir/opt/$pkgname"
35 cp -a . "$pkgdir/opt/$pkgname"
36 chmod -R 755 $pkgdir/opt/$pkgnname
39 install -D jpcsp.sh $pkgdir/usr/bin/jpcsp
40 install -D jpcsp.desktop $pkgdir/usr/share/applications/jpcsp.desktop
44 # vim:set ts=2 sw=2 et: