diff options
Diffstat (limited to 'testing/leiningen/APKBUILD')
-rwxr-xr-x | testing/leiningen/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/leiningen/APKBUILD b/testing/leiningen/APKBUILD new file mode 100755 index 0000000000..ccf761abfe --- /dev/null +++ b/testing/leiningen/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Will Sinatra <wpsinatra@gmail.com> +# Maintainer: Will Sinatra <wpsinatra@gmail.com> +pkgname=leiningen +pkgver=2.9.1 +pkgrel=0 +pkgdesc="Automate Clojure Projects" +options="!check" #No Checks +url="https://leiningen.org/" +arch="noarch" +license="EPL-1.0" +depends="openjdk8" +subpackages="$pkgname-doc" +source="leiningen-$pkgver.tar.gz::https://github.com/technomancy/leiningen/archive/$pkgver.tar.gz + https://github.com/technomancy/leiningen/releases/download/2.9.1/leiningen-$pkgver-standalone.zip" + +package() { + install -Dm755 "$builddir/bin/lein-pkg" \ + "$pkgdir/usr/bin/lein" + + install -Dm644 "$builddir/doc/lein.1" \ + "$pkgdir/usr/share/man/man1/lein.1" + + install -Dm 644 "$srcdir/leiningen-$pkgver-standalone.zip" \ + "$pkgdir/usr/share/java/leiningen-$pkgver-standalone.jar" +} + +sha512sums="40100f9ebbb611e9649fe7b7f1468a911319d12c82a8fdcf06be6a66c173550c9d15d736892a8ee17925a849c5ce996d60e9d785cec862d2b9d9ca88c48aa456 leiningen-2.9.1.tar.gz +4364aa2a071117049f97f95e020f75bfd0875c88475591d4e04100ac1b228137360a8b24c09877cd3400b7854bf9392b4e5d07ed7f7972e10e4ef5396d0db574 leiningen-2.9.1-standalone.zip" |