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