aboutsummaryrefslogtreecommitdiffstats
path: root/community/leiningen/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/leiningen/APKBUILD')
-rw-r--r--community/leiningen/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/leiningen/APKBUILD b/community/leiningen/APKBUILD
new file mode 100644
index 0000000000..e430496d94
--- /dev/null
+++ b/community/leiningen/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Will Sinatra <wpsinatra@gmail.com>
+# Maintainer: Will Sinatra <wpsinatra@gmail.com>
+pkgname=leiningen
+pkgver=2.9.6
+pkgrel=1
+pkgdesc="Automate Clojure Projects"
+options="!check" #No Checks
+url="https://leiningen.org/"
+arch="noarch !mips !mips64 !riscv64" # blocked by java-jdk
+license="EPL-1.0"
+depends="bash java-jdk"
+subpackages="$pkgname-doc
+ $pkgname-bash-completion
+ $pkgname-zsh-completion
+ "
+source="leiningen-$pkgver.tar.gz::https://github.com/technomancy/leiningen/archive/$pkgver.tar.gz
+ https://github.com/technomancy/leiningen/releases/download/$pkgver/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"
+
+ install -Dm644 bash_completion.bash \
+ "$pkgdir"/usr/share/bash-completion/completions/lein
+ install -Dm644 zsh_completion.zsh \
+ "$pkgdir"/usr/share/zsh/site-functions/_lein
+}
+
+sha512sums="
+d0b819646fd18d3c868d63ae853a5d7458f8fbe7daf455f6b60ba7c85260f1f5726d0baf50a5184dbabc1c2c3284cb34b44f14d855b6e7593954bf307db4df0a leiningen-2.9.6.tar.gz
+5d197720cb6caa881c0b32501b838f46214f4787039991a8593ca4675e1e5cdc356cbf8ce534978160f997f76eaae6e9137fa667f8790ef6d3a09f90dc4a428d leiningen-2.9.6-standalone.zip
+"