Package Details: janet-lang 1.36.0-1

Git Clone URL: https://aur.archlinux.org/janet-lang.git (read-only, click to copy)
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, jpm
Submitter: GrayJack
Maintainer: psagers
Last Packager: psagers
Votes: 15
Popularity: 0.22
First Submitted: 2019-02-24 02:32 (UTC)
Last Updated: 2024-09-07 22:40 (UTC)

Dependencies (2)

Required by (9)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5

GrayJack commented on 2020-02-26 03:12 (UTC) (edited on 2020-02-26 03:25 (UTC) by GrayJack)

Honix, I updated to create the missing directory, can you test to see if it fix your issue?

Worked on my machine, but I want to be sure before porting to the git package

But i would really recommend setting up a JANET_MODPATH environment variable to a local path of your choice

honix commented on 2020-02-25 23:10 (UTC)

'/usr/lib/janet' dir is required by jpm (janet package manager) and will be spawned when install. Related issue: https://github.com/janet-lang/janet/issues/286

nac commented on 2019-05-26 23:07 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-05-22 23:58 (UTC) by GrayJack)

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 (UTC)

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