summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD38
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..69fbabd13ae
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = finlayscript6
+ pkgdesc = The official FinlayScript6 interpreter
+ pkgver = 1.0
+ pkgrel = 1
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = java-runtime
+ depends = bash
+ source = git://github.com/thatmadhacker/FinlayScript6.git
+ md5sums = SKIP
+
+pkgname = finlayscript6
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..01e6e55871a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Finlay Maroney finman292004@protonmail.com
+pkgname=finlayscript6
+pkgver=1.0
+pkgrel=1
+pkgdesc="The official FinlayScript6 interpreter"
+arch=('any')
+url=""
+license=('MIT')
+groups=()
+depends=('java-runtime' 'bash')
+makedepends=(git)
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("git://github.com/thatmadhacker/FinlayScript6.git")
+noextract=()
+md5sums=("SKIP")
+
+build() {
+ cd "FinlayScript6"
+
+ ./gradlew build
+}
+
+package() {
+ mkdir -p "../pkg/finlayscript6/usr/lib/FS6/bin"
+ mkdir -p "../pkg/finlayscript6/usr/bin"
+ cp "FinlayScript6/build/libs/FinlayScript6-all.jar" "../pkg/finlayscript6/usr/lib/FS6/bin/FinlayScript6.jar"
+ cp "FinlayScript6/finlayscript6" "../pkg/finlayscript6/usr/bin/"
+ cd ../pkg/
+ chmod +x "finlayscript6/usr/lib/FS6/bin/FinlayScript6.jar"
+ chmod +x "finlayscript6/usr/bin/finlayscript6"
+}