26 lines
842 B
Bash
26 lines
842 B
Bash
# Template file for 'clojure'
|
|
pkgname=clojure
|
|
version=1.11.1.1413
|
|
revision=1
|
|
depends="virtual?java-environment rlwrap"
|
|
short_desc="Clojure programming language command line tools"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="EPL-1.0"
|
|
homepage="https://clojure.org/"
|
|
distfiles="https://github.com/clojure/brew-install/releases/download/${version}/clojure-tools-${version}.tar.gz"
|
|
checksum=93c3a5a3adca51c5858063419abf66c83dbf24ea15e1fd92f79bf7e662381fe0
|
|
|
|
do_install() {
|
|
vmkdir /usr/lib/clojure
|
|
vmkdir /usr/lib/clojure/libexec
|
|
vcopy "deps.edn example-deps.edn tools.edn" /usr/lib/clojure
|
|
vcopy exec.jar /usr/lib/clojure/libexec/
|
|
vcopy clojure-tools-${version}.jar /usr/lib/clojure/libexec/
|
|
sed -i -e 's@BINDIR@/usr/bin@g' clj
|
|
sed -i -e 's@PREFIX@/usr/lib/clojure@g' clojure
|
|
vbin clojure
|
|
vbin clj
|
|
vman clj.1
|
|
vman clojure.1
|
|
}
|