# Template file for 'clojure' pkgname=clojure version=1.9.0.326 revision=1 wrksrc="clojure-tools" depends="virtual?java-environment rlwrap" short_desc="The Clojure Programming Language" maintainer="Dominic Monroe " license="EPL" homepage="https://clojure.org/" distfiles="https://download.clojure.org/install/clojure-tools-${version}.tar.gz" checksum=491bb9780b3fe4670e9e2043aec604492ede785b34b0c885ec92fc98867fc869 do_install() { vmkdir /usr/lib/clojure vmkdir /usr/lib/clojure/libexec vcopy "deps.edn example-deps.edn" /usr/lib/clojure vcopy clojure-tools-${version}.jar /usr/lib/clojure/libexec/ sed -i -e 's@PREFIX@/usr/lib/clojure@g' clojure vbin clojure vbin clj }