void-packages/srcpkgs/clojure/template

25 lines
732 B
Bash
Raw Normal View History

2017-12-13 12:42:51 +00:00
# Template file for 'clojure'
pkgname=clojure
2018-05-12 12:16:55 +00:00
version=1.9.0.381
2017-12-13 12:42:51 +00:00
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"
2018-05-12 12:16:55 +00:00
checksum=f1266ba95784e594bb9b643258b417ef03b0e24b995ddb3a7514ae6daa7458a1
2017-12-13 12:42:51 +00:00
do_install() {
2017-12-13 12:42:51 +00:00
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
2018-04-22 17:29:08 +00:00
vman clj.1
vman clojure.1
2017-12-13 12:42:51 +00:00
}