summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLuc Ritchie2017-10-15 17:27:16 -0400
committerLuc Ritchie2017-10-15 17:27:16 -0400
commit7fe92e75514eeca9a5281ab25b56b89b2b334ea2 (patch)
tree271524f31b956d1eec385ac1ff376098d7413be4 /PKGBUILD
parente84ed9bb20edfee946f0cdc2bfc2fe5e0ea98d76 (diff)
downloadaur-7fe92e75514eeca9a5281ab25b56b89b2b334ea2.tar.gz
Build now uses gradle instead of ant; update to r357.d594bab
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
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"