updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / tda / PKGBUILD
bloba0febc4a5b57e222aba76421215878401a70eddc
1 # Contributor: Marco A Rojas <marquicus at gmail dot com>
3 pkgname=tda
4 pkgver=2.2
5 pkgrel=1
6 pkgdesc='Java Thread Dump Analyzer'
7 url='http://java.net/projects/tda'
8 license=('GPL2')
9 depends=('java-runtime' 'unzip')
10 arch=('any')
11 options=('!strip') 
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')
17 package() {
18   cd $pkgdir
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
29 # End of file
30 # vim: set ts=2 sw=2 noet: