summaryrefslogtreecommitdiff
path: root/extra/clisp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-26 23:15:00 +0000
committerroot <root@rshg054.dnsready.net>2012-02-26 23:15:00 +0000
commitf6a79a3f5989efc8db63af942851c56f0c462bb1 (patch)
tree08bddecba9bbd4fc2c2075bfa2c514f710fcd351 /extra/clisp
parente4a5730eb358cb0d78bc022204ddccac068c2bf2 (diff)
Sun Feb 26 23:15:00 UTC 2012
Diffstat (limited to 'extra/clisp')
-rw-r--r--extra/clisp/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/extra/clisp/PKGBUILD b/extra/clisp/PKGBUILD
index a6451270c..eed5c6e36 100644
--- a/extra/clisp/PKGBUILD
+++ b/extra/clisp/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 90068 2010-09-07 13:27:59Z juergen $
+# $Id: PKGBUILD 151174 2012-02-25 06:56:49Z pierre $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=clisp
pkgver=2.49
-pkgrel=1
+pkgrel=2
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
arch=('i686' 'x86_64')
license=('GPL')
@@ -10,18 +10,26 @@ url="http://clisp.cons.org/"
depends=('readline' 'libsigsegv')
provides=('common-lisp')
makedepends=('ffcall')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2)
+options=('!makeflags' '!emptydirs')
+source=("http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2")
md5sums=('1962b99d5e530390ec3829236d168649')
build() {
cd $srcdir/${pkgname}-${pkgver}
- unset CFLAGS CXXFLAGS
./configure --prefix=/usr --with-readline --with-ffcall src
cd src
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
- make || return 1
+ make
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ make
+}
+
+check() {
+ cd $srcdir/${pkgname}-${pkgver}/src
+ make check
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}/src
+ make DESTDIR=$pkgdir install
}