3a6fe8aed0
Closes: #7978 [via git-merge-pr]
24 lines
733 B
Bash
24 lines
733 B
Bash
# Template file for 'clojure'
|
|
pkgname=clojure
|
|
version=1.10.0.411
|
|
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=f0836d56a32f8c76e20d75d442e04ef5c29b023e69d284baaf0ff298b8b17001
|
|
|
|
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
|
|
}
|