1 # Contributor: Jaroslaw Rosiek <jaroslaw.rosiek@interia.pl>
5 pkgdesc="Disassembler for the Java Virtual Machine"
6 url="http://tinapoc.sourceforge.net/"
9 makedepends=('apache-ant' 'java-environment')
10 arch=('i686' 'x86_64')
12 # Use specific sourceforge mirror in case of any problems
14 http://heanet.dl.sourceforge.net/sourceforge/tinapoc/tinapoc-0.4-alpha.zip \
23 cd $startdir/src/src || return 1
24 patch -p1 < ../dejasmin-0.4.patch || return 1
27 install -d $startdir/src/build || return 1
28 echo "Compiling sources..."
29 javac -cp "$startdir/src/bin/bcel-5.1.jar:." -d "$startdir/src/build" dejasmin.java || return 1
32 cd $startdir/src/build || return 1
33 jar -cfme "$startdir/src/dejasmin.jar" "$startdir/src/dejasmin.mf" dejasmin * || return 1
36 install -D -m644 $startdir/src/dejasmin.jar $startdir/pkg/usr/share/java/dejasmin/dejasmin.jar || return 1
38 # Install dependencies
39 install -D -m644 $startdir/src/bin/bcel-5.1.jar $startdir/pkg/usr/share/java/dejasmin/bcel-5.1.jar || return 1
41 # Install startup script
42 install -D -m755 $startdir/src/dejasmin $startdir/pkg/usr/bin/dejasmin || return 1
45 md5sums=('cd523f00243ca17631b4fc7f4c53b249'
46 '535042f97e04111c89d79921599a6b79'
47 'db8263c2166abe6fcae0f47246a162e9'
48 '3b957e5d76c2f1edd3ca29953d5bb70a')