Package Details: janet-lang 1.3.1-1

Git Clone URL: https://aur.archlinux.org/janet-lang.git (read-only)
Package Base: janet-lang
Description: A dynamic Lisp dialect and bytecode vm
Upstream URL: https://janet-lang.org/
Licenses: MIT
Conflicts: janet-lang-git
Provides: janet
Submitter: GrayJack
Maintainer: GrayJack
Last Packager: GrayJack
Votes: 3
Popularity: 0.085200
First Submitted: 2019-02-24 02:32
Last Updated: 2019-09-22 00:38

Latest Comments

nac commented on 2019-05-26 23:07

I haven't looked at the major differences between this package and janet-lang-git, but the git version seems to place the header files correctly in my file system, while this package creates symlinks pointing to the build directory location.

GrayJack commented on 2019-05-24 00:47

Looks like "JANET_BUILD" is just a constant used to print in the repl, shouldn't make much difference since this specific error is ignored if happens

GrayJack commented on 2019-05-22 22:57

I think I'll let static for now, I'll look into making id dynamic with 1.0 release (looks like that will be soon)

Can be done with git + version tag I think

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.

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,19 +15,21 @@ conflicts=('janet-lang-git')
 source=("https://github.com/janet-lang/janet/archive/v${pkgver}.tar.gz")
 sha256sums=('f5c90122715869657427cbba62809a1d53eaaced2268e7d55202301d65a75076')

+janet_build='JANET_BUILD=\"c7dc361\"'
+
 #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