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

Daniel Griffiths dgriffiths at archlinux.org
Tue Apr 20 03:54:42 UTC 2010


    Date: Monday, April 19, 2010 @ 23:54:42
  Author: dgriffiths
Revision: 78233

upgpkg: cmucl 20a-2 Fixed man page issue

Modified:
  cmucl/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-20 03:46:36 UTC (rev 78232)
+++ PKGBUILD	2010-04-20 03:54:42 UTC (rev 78233)
@@ -4,7 +4,7 @@
 
 pkgname=cmucl
 pkgver=20a
-pkgrel=1
+pkgrel=2
 pkgdesc="CMU Common Lisp"
 depends=('glibc' 'lesstif')
 provides=('common-lisp')
@@ -18,12 +18,12 @@
 arch=(i686)
 
 build() {
-  cd $startdir/src
-  export CMUCLCORE=$startdir/src/lib/cmucl/lib/lisp-x87.core
+  cd ${srcdir}
+  export CMUCLCORE=${srcdir}/lib/cmucl/lib/lisp-x87.core
   # Create target buildroot
   ./src/tools/create-target.sh $CHOST 
   # Use binary-dist lisp to create initial kernel.core
-  ./src/tools/build-world.sh $CHOST $startdir/src/bin/lisp
+  ./src/tools/build-world.sh $CHOST ${srcdir}/bin/lisp
   # build native lisp binary
   ./src/tools/rebuild-lisp.sh $CHOST 
   # Generate lisp.core
@@ -37,25 +37,25 @@
   # make new binary dist archives
   ./src/tools/make-dist.sh $CHOST ${pkgver} x86 linux
   
-  mkdir -p $startdir/pkg/usr/lib/cmucl/
-  mkdir -p $startdir/pkg/usr/share/man/man1
+  mkdir -p ${pkgdir}/usr/lib/cmucl/
+  mkdir -p ${pkgdir}/usr/share/man/man1
   mkdir dist
   tar xjf cmucl-${pkgver}-x86-linux.tar.bz2 -C dist 
   tar xjf cmucl-${pkgver}-x86-linux.extra.tar.bz2 -C dist
-  cp -a dist/bin ${startdir}/pkg/usr/lib/cmucl
-  cp -a dist/lib/cmucl ${startdir}/pkg/usr/lib/ 
-  cp -a dist/man/man1/* ${startdir}/pkg/usr/share/man/man1/
+  cp -a dist/bin ${pkgdir}/usr/lib/cmucl
+  cp -a dist/lib/cmucl ${pkgdir}/usr/lib/ 
+  cp -a dist/man/man1/* ${pkgdir}/usr/share/man/man1/
 
   ## Setup app-wrapper
-  install -m755 -p -D lib/cmucl/sample-wrapper $startdir/pkg/usr/bin/cmucl
+  install -m755 -p -D lib/cmucl/sample-wrapper ${pkgdir}/usr/bin/cmucl
   # Fixup paths in wrapper
-  sed -i -e "s|^CMUCLLIB=.*|CMUCLLIB=/usr/lib/cmucl/lib|" $startdir/pkg/usr/bin/cmucl
-  sed -i -e "s|/<<your-cmucl-path>>|/usr/lib/cmucl|"      $startdir/pkg/usr/bin/cmucl
+  sed -i -e "s|^CMUCLLIB=.*|CMUCLLIB=/usr/lib/cmucl/lib|" ${pkgdir}/usr/bin/cmucl
+  sed -i -e "s|/<<your-cmucl-path>>|/usr/lib/cmucl|"      ${pkgdir}/usr/bin/cmucl
   # many apps (ie, maxima) expect to find the wrapper named 'lisp' too
-  ln -sf cmucl $startdir/pkg/usr/bin/lisp
+  ln -sf cmucl ${pkgdir}/usr/bin/lisp
   ## Unpackaged files
-  rm -f $startdir/pkg/usr/lib/cmucl/sample-wrapper
+  rm -f ${pkgdir}/usr/lib/cmucl/sample-wrapper
   # license
-  install -D -m644 ${startdir}/src/src/general-info/COPYRIGHTS \
-                   ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
+  install -D -m644 ${srcdir}/src/general-info/COPYRIGHTS \
+                   ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
 }




More information about the arch-commits mailing list