diff options
author | Will sinatra <wpsinatra@gmail.com> | 2020-02-17 22:49:24 -0500 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-18 13:10:50 -0300 |
commit | 49ffd4b8da3e59425df95873b2a093488eca2f4a (patch) | |
tree | 85226ace79e5bee9e5210229c2ce2323e29c24fd /testing/clojure | |
parent | 9c0e745cefd3f767b70f55225e289172a7f871b4 (diff) | |
download | aports-49ffd4b8da3e59425df95873b2a093488eca2f4a.tar.bz2 aports-49ffd4b8da3e59425df95873b2a093488eca2f4a.tar.xz |
testing/clojure: new aport
Diffstat (limited to 'testing/clojure')
-rwxr-xr-x | testing/clojure/APKBUILD | 30 | ||||
-rw-r--r-- | testing/clojure/clojure | 3 |
2 files changed, 33 insertions, 0 deletions
diff --git a/testing/clojure/APKBUILD b/testing/clojure/APKBUILD new file mode 100755 index 0000000000..5cb13ce97e --- /dev/null +++ b/testing/clojure/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Will Sinatra <wpsinatra@gmail.com> +# Maintainer: Will Sinatra <wpsinatra@gmail.com> +pkgname=clojure +pkgver=1.10.1 +pkgrel=0 +pkgdesc="The Clojure Programming Language" +url="http://clojure.org" +arch="all !armv7 !x86" +license="Apache-2.0" +makedepends="maven" +source="https://github.com/clojure/clojure/archive/clojure-$pkgver.tar.gz + clojure" +depends="openjdk12" +builddir="$srcdir/clojure-clojure-$pkgver" +options="!check" #Check occurs in build + +build() { + mvn -Plocal package +} + +package() { + install -Dm644 "$builddir/clojure.jar" \ + "$pkgdir/usr/share/clojure/clojure.jar" + + install -Dm755 "$srcdir/clojure" \ + "$pkgdir/usr/bin/clojure" +} + +sha512sums="942a9f9cb1f41c2df3eb904d8dd5406832d7078850694e14867cff5c2d7a871184adc4659aae50b88e27076c30d221b443a5c42a7d1cc419d4cf75637110075f clojure-1.10.1.tar.gz +763079a57001c5d53c0c3fefc1a556a60c77983ddcece12b8cb6a419df1acba19e4ec194e08b6692b1ec1261abd7aa59d06513d9cff07cc0716e3b9f412f47f4 clojure" diff --git a/testing/clojure/clojure b/testing/clojure/clojure new file mode 100644 index 0000000000..0225bb606e --- /dev/null +++ b/testing/clojure/clojure @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/bin/java -jar /usr/share/clojure/clojure.jar "$@" |