24 lines
732 B
Bash
24 lines
732 B
Bash
# Template file for 'clojure'
|
|
pkgname=clojure
|
|
version=1.9.0.381
|
|
revision=1
|
|
wrksrc="clojure-tools"
|
|
depends="virtual?java-environment rlwrap"
|
|
short_desc="The Clojure Programming Language"
|
|
maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
|
license="EPL"
|
|
homepage="https://clojure.org/"
|
|
distfiles="https://download.clojure.org/install/clojure-tools-${version}.tar.gz"
|
|
checksum=f1266ba95784e594bb9b643258b417ef03b0e24b995ddb3a7514ae6daa7458a1
|
|
|
|
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
|
|
vman clj.1
|
|
vman clojure.1
|
|
}
|