summaryrefslogtreecommitdiff
path: root/community/jad
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-26 01:41:32 -0700
committerroot <root@rshg054.dnsready.net>2013-08-26 01:41:32 -0700
commit1d0d7aa1e250616385bce94b4d23f53b3d7b29e2 (patch)
tree1fe52c044982f2f66ae5b0045b7c5c5fae1f2f29 /community/jad
parenteed3b2a218be9aa9d9d8256f6b8ccd06d04b8804 (diff)
Mon Aug 26 01:39:20 PDT 2013
Diffstat (limited to 'community/jad')
-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() {