1 # Contributor: Marco A Rojas <marquicus at gmail dot com>
6 pkgdesc='Java Thread Dump Analyzer'
7 url='http://java.net/projects/tda'
9 depends=('java-runtime' 'unzip')
12 source=(http://java.net/projects/tda/downloads/download/${pkgname}-bin-${pkgver}.zip tda.patch)
13 noextract=(${pkgname}-bin-${pkgver}.zip)
14 md5sums=('a8fd4cd526201232b53f880333d8bc22'
15 '15ea2c0cc039eb94c6efd1034715ce3f')
20 install -dm0755 usr/share/java/${pkgname}/{,doc}
21 unzip -q ${srcdir}/${pkgname}-bin-${pkgver}.zip -d usr/share/java/${pkgname}
23 rm usr/share/java/${pkgname}/bin/tda.bat
24 patch -p0 < ${srcdir}/tda.patch
26 install -Dm0755 usr/share/java/${pkgname}/bin/tda.sh usr/bin/tda.sh
30 # vim: set ts=2 sw=2 noet: