summaryrefslogtreecommitdiff
path: root/community/jad
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/jad
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/jad')
-rw-r--r--community/jad/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/jad/PKGBUILD b/community/jad/PKGBUILD
new file mode 100644
index 000000000..30c8ea509
--- /dev/null
+++ b/community/jad/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 86961 2013-03-25 11:13:01Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: astaroth <astaroth_@web.de>
+
+pkgname=jad
+pkgver=1.5.8e
+pkgrel=4
+pkgdesc='Java decompiler'
+license=('custom')
+arch=('x86_64' 'i686')
+url='http://www.varaneckas.com/jad'
+source=("http://www.varaneckas.com/$pkgname/${pkgname}${pkgver//./}.linux.static.zip"
+ 'jad.html::http://www.varaneckas.com/jad')
+sha256sums=('2878e19fc1fdd725b516f538a57b02aaec1b2d1e4b106d550230381ffa9c0c81'
+ '4acee94ff29fe01ea2a9c4c0b47f22fb5a93fc667ee2dd8b6740f7f36bcbcdf2')
+
+build() {
+ cd "$srcdir"
+
+ grep '<code>' jad.html -A18 | sed 's:<code>::' | sed 's:</code>::' > LICENSE
+}
+
+package() {
+ cd "$srcdir"
+
+ install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 Readme.txt "$pkgdir/usr/share/doc/$pkgname/README"
+}
+
+# vim:set ts=2 sw=2 et: