blob: 22e66e375c58cfc84edf9cf58ea26a559395f3dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Martin C. Doege <mdoege at compuserve dot com>
pkgname=javacpc
pkgver=2.9h
pkgrel=1
pkgdesc="An Amstrad CPC emulator in Java, based on JEMU"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/javacpc/"
license=('unknown')
depends=('java-runtime')
install=$pkgname.install
source=("http://downloads.sourceforge.net/project/javacpc/JavaCPC%20Desktop/JavaCPC_Desktop_"$pkgver".zip"
"javacpc"
"javacpc.desktop"
"javacpc_icon.png")
md5sums=('a9389f175bf72944264c4edb7a216610'
'1730471294aa32472586a13331547ad0'
'ad11d7aba73f349177d8cc2014b9b874'
'9a3484df10f16187980721111a264655')
package() {
cd $srcdir
mkdir -p $pkgdir/usr/lib/javacpc
cp -pr * $pkgdir/usr/lib/javacpc
cd $pkgdir/usr/lib/javacpc/
rm -fr *.exe *.dll lib/sunos lib/windows
install -Dm 755 javacpc $pkgdir/usr/bin/javacpc
install -D javacpc_icon.png $pkgdir/usr/share/icons/javacpc_icon.png
install -D javacpc.desktop $pkgdir/usr/share/applications/javacpc.desktop
}
|