[arch-commits] Commit in jad/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Sun Aug 25 14:38:38 UTC 2013


    Date: Sunday, August 25, 2013 @ 16:38:38
  Author: arodseth
Revision: 96320

upgpkg: jad 1.5.8e-5, added optdepends, updated hash sums

Modified:
  jad/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-25 13:45:50 UTC (rev 96319)
+++ PKGBUILD	2013-08-25 14:38:38 UTC (rev 96320)
@@ -4,20 +4,22 @@
 
 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() {




More information about the arch-commits mailing list