updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / dex2jar / PKGBUILD
blob5fd27ad59e3424e04f5832159dcb43431ac32a63
1 # Maintainer: Christoph Giesel <mail at cgiesel dot de>
2 # Contributor: Andreas Schönfelder <passtschu at freenet dot de>
3 pkgname=dex2jar
4 pkgver=0.0.9.6
5 pkgrel=1
6 pkgdesc="A tool for converting Android's .dex format to Java's .class format"
7 arch=(any)
8 url="http://code.google.com/p/dex2jar"
9 license=('Apache')
10 depends=('java-runtime')
11 source=("http://dex2jar.googlecode.com/files/$pkgname-$pkgver.zip")
12 md5sums=('29f32d1c4ca7dcfa6f855802ba9bb4da')
14 package() {
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: