summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorinitrdmk2015-06-11 02:48:08 +0800
committerinitrdmk2015-06-11 02:48:08 +0800
commitf2356055be524858e58e9fbfdd4496d01b3d2cb8 (patch)
tree07b45b58e27528a9b1e1070270420dc50229693a
downloadaur-f2356055be524858e58e9fbfdd4496d01b3d2cb8.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
-rw-r--r--luyten.sh3
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1df57a85f75
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = luyten
+ pkgdesc = An Open Source Java Decompiler Gui for Procyon
+ pkgver = 0.4.4
+ pkgrel = 1
+ url = https://github.com/deathmarine/Luyten
+ arch = any
+ license = Apache
+ depends = java-runtime
+ noextract = *
+ source = luyten.sh
+ source = https://github.com/deathmarine/Luyten/releases/download/v0.4.4/luyten-0.4.4.jar
+ sha1sums = d76ce0d7a116b2fa04ca33032b46f896091958aa
+ sha1sums = d4b8e603f7cde409368c10912c7258da9d8618d0
+
+pkgname = luyten
+
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:
diff --git a/luyten.sh b/luyten.sh
new file mode 100644
index 00000000000..038a28ff293
--- /dev/null
+++ b/luyten.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -jar /opt/luyten/luyten.jar