1 # Maintainer: Christoph Giesel <mail at cgiesel dot de>
2 # Contributor: Andreas Schönfelder <passtschu at freenet dot de>
6 pkgdesc="A tool for converting Android's .dex format to Java's .class format"
8 url="http://code.google.com/p/dex2jar"
10 depends=('java-runtime')
11 source=("http://dex2jar.googlecode.com/files/$pkgname-$pkgver.zip")
12 md5sums=('29f32d1c4ca7dcfa6f855802ba9bb4da')
15 cd "$srcdir/$pkgname-$pkgver"
17 mkdir -p "$pkgdir/usr/bin/"
18 mkdir -p "$pkgdir/opt/dex2jar/lib/"
20 install -m755 *.sh "$pkgdir/opt/dex2jar/"
21 install -m644 lib/*.jar "$pkgdir/opt/dex2jar/lib/"
23 ln -s /opt/dex2jar/dex2jar.sh "$pkgdir/usr/bin/dex2jar"
26 # vim:set ts=2 sw=2 et: