Package Details: fennel-git r1047.beafb1e-1

Git Clone URL: https://aur.archlinux.org/fennel-git.git (read-only, click to copy)
Package Base: fennel-git
Description: A Lua Lisp language
Upstream URL: https://github.com/bakpakin/Fennel
Licenses: MIT
Conflicts: fennel
Provides: fennel
Submitter: katie
Maintainer: katie
Last Packager: katie
Votes: 0
Popularity: 0.000000
First Submitted: 2018-11-29 15:47
Last Updated: 2020-08-23 19:04

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

katie commented on 2020-08-18 16:58

@jaawerth patched! Thanks for the tip :)

jaawerth commented on 2020-08-17 22:47

Hi!

I threw together a patch to account for the changes to the build process in the repo and the 5.4 discrepancy. These edits allowed me to install fennel-git again without any issues so I figured it might save you some busywork.

I also remember in earlier versions of the PKGBUILD, you had a comment about switching to git describe for pkgver once we had tagged releases in Fennel. We do have that now, so if you wanted to you could update that function to use printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')", which currently output s 0.5.0.r4.a39c4d0.

Here's the patch:

From e4db0e06e5a3413a65f7596b3d077aabf8d4b816 Mon Sep 17 00:00:00 2001
From: Jesse Wertheim <jaawerth@gmail.com>
Date: Mon, 17 Aug 2020 17:57:20 -0400
Subject: [PATCH] Remove reference to fennelfriend.lua

As of 0.5.0, fennel is fully self-hosted and fennelfriend.fnl was moved
to src/fennel/friend.fnl, which is sourced and embedded into fennel.lua
when building.

Arch also now points the `lua` package to lua 5.4, so also updated the
`_lua_version` env var so fennel.lua ends up in the appropriate
directory (though fennel.lua and fennelview.lua should work with all of
5.1-5.4.
---
 PKGBUILD | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 05399bc..94febcd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
 # Maintainer: Katie Wolfe <katie@dnaf.moe>

-_lua_version=5.3
+_lua_version=5.4

 pkgname=fennel-git
-pkgver=r855.2019aa0
+pkgver=r1027.a39c4d0
 pkgrel=1
 pkgdesc="A Lua Lisp language"
 arch=('x86_64')
@@ -29,13 +29,13 @@ pkgver() {

 build() {
    cd "$srcdir/${pkgname%-git}"
-   make fennel fennel.lua fennelview.lua fennelfriend.lua
+   make fennel fennel.lua fennelview.lua
 }

 package() {
    cd "$srcdir/${pkgname%-git}"

-   install -Dm644 "fennel.lua" "fennelview.lua" "fennelfriend.lua" \
+   install -Dm644 "fennel.lua" "fennelview.lua" \
        -t "${pkgdir}/usr/lib/lua/${_lua_version}"
    install -Dm755 "fennel" \
        "${pkgdir}/usr/bin/fennel"
-- 
2.28.0