archrelease: copy trunk to extra-x86_64
[arch-packages.git] / clisp / repos / extra-x86_64 / PKGBUILD
blob598e712b77879758d57ca155e49bd09221c41b6e
1 # Maintainer: Juergen Hoetzel <juergen@archlinux.org>
2 pkgname=clisp
3 pkgver=2.49.93
4 pkgrel=7
5 pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
6 arch=('x86_64')
7 license=('GPL')
8 url="https://clisp.sourceforge.io/"
9 depends=('readline' 'libsigsegv' 'ffcall' 'libxcrypt' 'libunistring')
10 provides=('common-lisp')
11 makedepends=('mercurial')
12 options=('!makeflags' '!emptydirs')
13 _rev=b55b8196c9f25428304ec3de87383319fd1f2264
14 source=(hg+http://hg.code.sf.net/p/clisp/clisp#revision=$_rev)
15 md5sums=('SKIP')
17 build() {
18   cd $pkgname
19   CFLAGS+=" -ffat-lto-objects" \
20   ./configure --prefix=/usr --with-readline --with-ffcall src
22   cd src
23   ./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
24   make
27 check() {
28   cd $pkgname
29   make check || :
32 package() {
33   cd $pkgname/src
34   make DESTDIR="$pkgdir" install