25 lines
732 B
Bash
25 lines
732 B
Bash
# Template file for 'clojure'
|
|
pkgname=clojure
|
|
version=1.9.0.375
|
|
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=29153670b42288c729881a3550f073d67c9b913670a5afc8a71f4e557813489d
|
|
|
|
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
|
|
}
|