git » clisp.git » main » tree

[main] / PKGBUILD

# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=clisp
pkgver=2.49.93
pkgrel=7
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
arch=('armv7h' 'aarch64')
license=('GPL')
url="https://clisp.sourceforge.io/"
depends=('readline' 'libsigsegv' 'ffcall' 'libxcrypt' 'libunistring')
provides=('common-lisp')
makedepends=('mercurial')
options=('!makeflags' '!emptydirs')
_rev=b55b8196c9f25428304ec3de87383319fd1f2264
source=(hg+http://hg.code.sf.net/p/clisp/clisp#revision=$_rev)
md5sums=('SKIP')

build() {
  cd $pkgname
  CFLAGS+=" -ffat-lto-objects" \
  ./configure --prefix=/usr --with-readline --with-ffcall src

  cd src
  ./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
  make
}

#check() {
#  cd $pkgname
#  make check || :
#}

package() {
  cd $pkgname/src
  make DESTDIR="$pkgdir" install
}