Package Details: janet-lang 0.5.0-2

Git Clone URL: (read-only)
Package Base: janet-lang
Description: A dynamic Lisp dialect and bytecode vm
Upstream URL:
Licenses: MIT
Conflicts: janet-lang-git
Provides: janet
Submitter: GrayJack
Maintainer: GrayJack
Last Packager: GrayJack
Votes: 3
Popularity: 1.855521
First Submitted: 2019-02-24 02:32
Last Updated: 2019-05-14 15:41

Latest Comments

gambpang commented on 2019-05-19 04:14

Installing this package, I had some errors because the makefile assumes that it will be run in a clone of the janet-lang repo; but the script runs it in just a copy of the tree. The patch below resolves these errors, but would be better if the short commit hash associated with the version tag could be computed instead of hard-coded.

@@ -15,19 +15,21 @@ conflicts=('janet-lang-git')

 #prepare() {
 #    cd "${srcdir}/${_pkgname}-${pkgver}"

 build() {
     cd "${srcdir}/${_pkgname}-${pkgver}"
-    make PREFIX="/usr" CC=clang -j7
+    make PREFIX="/usr" CC=clang $janet_build -j7

 package() {
     cd "${srcdir}/${_pkgname}-${pkgver}"
-    make PREFIX="${pkgdir}/usr" install
-    make PREFIX="${pkgdir}/usr" docs
+    make PREFIX="${pkgdir}/usr" $janet_build install
+    make PREFIX="${pkgdir}/usr" $janet_build docs
     mkdir -p ${pkgdir}/usr/share/janet
     cp -a examples ${pkgdir}/usr/share/janet
     cp -a build/doc.html ${pkgdir}/usr/share/janet