diff options
author | thatmadhacker | 2019-06-19 14:34:30 -0400 |
---|---|---|
committer | thatmadhacker | 2019-06-19 14:34:30 -0400 |
commit | b5cbcd49bb262da9ef161bbfa2a5da9b5bf76186 (patch) | |
tree | 52c4963f8c120657a1a25763d4bf8517f93a2e33 | |
download | aur-b5cbcd49bb262da9ef161bbfa2a5da9b5bf76186.tar.gz |
Added pkgbuild and .srcinfo
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..69fbabd13ae4 --- /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 000000000000..01e6e55871a5 --- /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" +} |