[arch-commits] Commit in clisp/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 01:56:20 EST 2012


    Date: Saturday, February 25, 2012 @ 01:56:20
  Author: pierre
Revision: 151173

upgpkg: clisp 2.49-2

rebuild old package

Modified:
  clisp/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 06:55:40 UTC (rev 151172)
+++ PKGBUILD	2012-02-25 06:56:20 UTC (rev 151173)
@@ -2,7 +2,7 @@
 # Maintainer: Juergen Hoetzel <juergen at 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 @@
 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
+}



More information about the arch-commits mailing list