summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Ritchie2017-10-15 17:27:16 -0400
committerLuc Ritchie2017-10-15 17:27:16 -0400
commit7fe92e75514eeca9a5281ab25b56b89b2b334ea2 (patch)
tree271524f31b956d1eec385ac1ff376098d7413be4
parente84ed9bb20edfee946f0cdc2bfc2fe5e0ea98d76 (diff)
downloadaur-7fe92e75514eeca9a5281ab25b56b89b2b334ea2.tar.gz
Build now uses gradle instead of ant; update to r357.d594bab
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef5ab450613..0fe220796e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Oct 28 05:23:05 UTC 2016
+# Sun Oct 15 21:25:13 UTC 2017
pkgbase = fernflower-git
pkgdesc = An analytical decompiler for Java
- pkgver = r282.7bdec4f
+ pkgver = r357.d594bab
pkgrel = 1
url = https://github.com/fesh0r/fernflower
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 3fea3d85724..13237650c20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=fernflower
pkgname=$_pkgname-git
-pkgver=r282.7bdec4f
+pkgver=r357.d594bab
pkgrel=1
pkgdesc='An analytical decompiler for Java'
arch=('any')
@@ -20,12 +20,12 @@ pkgver() {
build() {
cd $_pkgname
- ant
+ ./gradlew jar
}
package() {
cd $_pkgname
- install -Dm644 "$_pkgname.jar" "$pkgdir/usr/share/java/$_pkgname/$pkgname.jar"
+ install -Dm644 "build/libs/$_pkgname.jar" "$pkgdir/usr/share/java/$_pkgname/$pkgname.jar"
install -d "$pkgdir/usr/bin"
printf '#!/bin/sh\nexec java -jar /usr/share/java/%s/%s.jar "$@"\n' $_pkgname $pkgname > "$pkgdir/usr/bin/$_pkgname"
chmod 755 "$pkgdir/usr/bin/$_pkgname"