summaryrefslogtreecommitdiff
path: root/community/jad/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jad/PKGBUILD')
-rw-r--r--community/jad/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/jad/PKGBUILD b/community/jad/PKGBUILD
index 30c8ea509..5383ef577 100644
--- a/community/jad/PKGBUILD
+++ b/community/jad/PKGBUILD
@@ -1,23 +1,25 @@
-# $Id: PKGBUILD 86961 2013-03-25 11:13:01Z arodseth $
+# $Id: PKGBUILD 96321 2013-08-25 14:38:50Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: astaroth <astaroth_@web.de>
pkgname=jad
pkgver=1.5.8e
-pkgrel=4
+pkgrel=5
pkgdesc='Java decompiler'
license=('custom')
arch=('x86_64' 'i686')
url='http://www.varaneckas.com/jad'
+optdepends=('vim-jad: open class files directly in vim and see the decompiled source code')
+makedepends=('links')
source=("http://www.varaneckas.com/$pkgname/${pkgname}${pkgver//./}.linux.static.zip"
'jad.html::http://www.varaneckas.com/jad')
sha256sums=('2878e19fc1fdd725b516f538a57b02aaec1b2d1e4b106d550230381ffa9c0c81'
- '4acee94ff29fe01ea2a9c4c0b47f22fb5a93fc667ee2dd8b6740f7f36bcbcdf2')
+ '5a0a0a26ca84c733c3a213960c070285bb2046b149adec49d6f47f00b2736dd0')
-build() {
+prepare() {
cd "$srcdir"
- grep '<code>' jad.html -A18 | sed 's:<code>::' | sed 's:</code>::' > LICENSE
+ links -dump jad.html | grep -A19 Copyright > LICENSE
}
package() {