summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6603e532038
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: initrdmk <initrdmk at gmail dot com>
+pkgname=luyten
+pkgver=0.4.4
+pkgrel=1
+pkgdesc="An Open Source Java Decompiler Gui for Procyon"
+arch=(any)
+url="https://github.com/deathmarine/Luyten"
+license=('Apache')
+depends=('java-runtime')
+source=("${pkgname}.sh"
+ "https://github.com/deathmarine/Luyten/releases/download/v${pkgver}/${pkgname}-${pkgver}.jar")
+sha1sums=("d76ce0d7a116b2fa04ca33032b46f896091958aa"
+ "d4b8e603f7cde409368c10912c7258da9d8618d0")
+noextract=("*")
+
+package() {
+ cd "$srcdir"
+
+ mkdir -p "$pkgdir/usr/bin/"
+ mkdir -p "$pkgdir/opt/luyten/lib/"
+
+ install -m755 $pkgname.sh "$pkgdir/opt/luyten/"
+ install -m644 *.jar "$pkgdir/opt/luyten/"
+
+ ln -s "/opt/luyten/${pkgname}-${pkgver}.jar" "$pkgdir/opt/luyten/${pkgname}.jar"
+ ln -s "/opt/luyten/$pkgname.sh" "$pkgdir/usr/bin/luyten"
+}
+
+# vim:set ts=2 sw=2 et: