# Contributor: Simon Lipp pkgname=jrosetta pkgver=1.0.2 pkgrel=3 pkgdesc="Graphical console engine for Swing" arch=('any') url="http://dev.artenum.com/projects/JRosetta/" license=('GPL2') depends=('java-runtime') makedepends=('apache-ant') source=("jrosetta-1.0.2-gpl.zip::http://dev.artenum.com/projects/JRosetta/download/JRosetta-1-0-2/data/src-gpl?action=download&nodecorator") md5sums=('3a618078c118216eb2351e5db6e14a7d') build() { cd $srcdir/$pkgname-$pkgver-gpl ant make || return 1 install -d $pkgdir/usr/share/java/$pkgname/ || return 1 install --mode=644 "$srcdir/$pkgname-$pkgver-gpl/dist/$pkgname-engine.jar" \ $pkgdir/usr/share/java/$pkgname/$pkgname-engine.jar || return 1 install --mode=644 "$srcdir/$pkgname-$pkgver-gpl/dist/$pkgname-API.jar" \ $pkgdir/usr/share/java/$pkgname/$pkgname-API.jar || return 1 }