26 lines
794 B
Bash
26 lines
794 B
Bash
# Template file for 'clojure'
|
|
pkgname=clojure
|
|
version=1.10.1.697
|
|
revision=1
|
|
wrksrc="clojure-tools"
|
|
depends="virtual?java-environment rlwrap"
|
|
short_desc="Clojure programming language command line tools"
|
|
maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
|
license="EPL-1.0"
|
|
homepage="https://clojure.org/"
|
|
distfiles="https://download.clojure.org/install/clojure-tools-${version}.tar.gz"
|
|
checksum=700dd4a4fad95eda3392fd9f6026bbb4b0a3f31d7bf6c01324f225623f365974
|
|
|
|
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
|
|
}
|