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

Alexander Rødseth arodseth at archlinux.org
Thu Nov 13 14:46:39 UTC 2014


    Date: Thursday, November 13, 2014 @ 15:46:39
  Author: arodseth
Revision: 122521

upgpkg: jad 1.5.8e-6

Modified:
  jad/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-13 14:40:59 UTC (rev 122520)
+++ PKGBUILD	2014-11-13 14:46:39 UTC (rev 122521)
@@ -4,28 +4,23 @@
 
 pkgname=jad
 pkgver=1.5.8e
-pkgrel=5
+pkgrel=6
 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'
-            '5a0a0a26ca84c733c3a213960c070285bb2046b149adec49d6f47f00b2736dd0')
+            '9ebc6c135fb169de6f79cc8993c914648b915cf071f54c4a31dc666b69649e5b')
 
 prepare() {
-  cd "$srcdir"
-
-  links -dump jad.html | grep -A19 Copyright > LICENSE
+  grep '<blockquote>' -A18 jad.html | cut -d">" -f2 | cut -d"<" -f1 > LICENSE
 }
 
 package() {
-  cd "$srcdir"
-
-  install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
   install -Dm644 Readme.txt "$pkgdir/usr/share/doc/$pkgname/README"
 }


More information about the arch-commits mailing list