Package Details: femto-emacs-git 2016.08.27.dcde8d2-1

Git Clone URL: https://aur.archlinux.org/femto-emacs-git.git (read-only, click to copy)
Package Base: femto-emacs-git
Description: Tiny emacs clone with configuring in FemtoLisp
Upstream URL: https://github.com/FemtoEmacs/Femto-Emacs/
Licenses: custom
Conflicts: femto-emacs
Provides: femto-emacs
Submitter: keenerd
Maintainer: keenerd
Last Packager: keenerd
Votes: 1
Popularity: 0.000000
First Submitted: 2016-08-22 15:42
Last Updated: 2016-08-27 00:31

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

Sandarr95 commented on 2021-04-13 09:11

The links for the previous comments seem to be dead. I made some edits to the PKGBUILD (with minimal knowledge of the actual package). But it seems to work for me, so sharing it here. Use at your own risk and please comment if you see something wrong with it.

diff --git a/PKGBUILD b/PKGBUILD
index 13d03c9..97d9c5b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Kyle Keen <keenerd@gmail.com>

 pkgname=femto-emacs-git
-pkgver=2016.08.27.dcde8d2
+pkgver=2019.12.16.abb1c38
 pkgrel=1
 pkgdesc="Tiny emacs clone with configuring in FemtoLisp"
 url="https://github.com/FemtoEmacs/Femto-Emacs/"
@@ -23,8 +23,8 @@ pkgver() {
 prepare() {
   cd "$_gitname"
   # tweaks for system-wide config
-  sed -i 's|"aliases.scm"|"/usr/share/femto-emacs/aliases.scm"|' init.lsp
-  sed -i 's|getenv("HOME")|"/usr/share/femto-emacs"|' femtolisp/{flcall.c,lixo.c}
+  sed -i 's|"femtolisp/aliases.scm"|"/usr/share/femto-emacs/aliases.scm"|' init.lsp
+  sed -i 's|getenv("HOME")|"/usr/share/femto-emacs"|' femtolisp/flcall.c
 }

 build() {
@@ -37,6 +37,6 @@ package() {
   install -Dm755 femto       "$pkgdir/usr/bin/femto"
   install -Dm644 femto.boot  "$pkgdir/usr/bin/femto.boot"
   install -Dm644 init.lsp    "$pkgdir/usr/share/femto-emacs/init.lsp"
-  install -Dm644 aliases.scm "$pkgdir/usr/share/femto-emacs/aliases.scm"
+  install -Dm644 femtolisp/aliases.scm "$pkgdir/usr/share/femto-emacs/aliases.scm"
   install -Dm644 femtolisp/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

haawda commented on 2018-03-31 15:14

lixo.c is gone and aliases.scm has been moved to a subdirectory.

See http://dpaste.com/0JBH68G

haawda commented on 2017-05-02 17:30

See http://dpaste.com/1G0YJ4V for a working PKGBUILD.

haawda commented on 2017-01-01 22:44

another refactory victim?
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'aliases.scm': No such file or directory
==> ERROR: A failure occurred in package().

haawda commented on 2016-11-27 17:37

lixo.c no longer exists, making prepare function fail.

haawda commented on 2016-08-27 00:08

Subdirectory "$_gitname"/femto, referenced in three functions, does no longer exist. See commit 0c93092628265b85fdb829a12bc3fcc94bf762b6 four days ago.