[arch-commits] CVS update of extra/devel/scheme48 (2 files)

Juergen Hoetzel juergen at archlinux.org
Sun Feb 10 11:47:10 UTC 2008


    Date: Sunday, February 10, 2008 @ 06:47:10
  Author: juergen
    Path: /home/cvs-extra/extra/devel/scheme48

   Added: scheme48-1.8-makefile.patch (1.1)
Modified: PKGBUILD (1.14 -> 1.15)

upgpkg: scheme48 1.8-1 added license


-----------------------------+
 PKGBUILD                    |   13 ++++++++-----
 scheme48-1.8-makefile.patch |   14 ++++++++++++++
 2 files changed, 22 insertions(+), 5 deletions(-)


Index: extra/devel/scheme48/PKGBUILD
diff -u extra/devel/scheme48/PKGBUILD:1.14 extra/devel/scheme48/PKGBUILD:1.15
--- extra/devel/scheme48/PKGBUILD:1.14	Sat Dec  1 13:23:37 2007
+++ extra/devel/scheme48/PKGBUILD	Sun Feb 10 06:47:09 2008
@@ -1,19 +1,22 @@
-# $Id: PKGBUILD,v 1.14 2007/12/01 18:23:37 juergen Exp $
+# $Id: PKGBUILD,v 1.15 2008/02/10 11:47:09 juergen Exp $
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 # Maintainer: juergen <juergen at archlinux.org>
 
 pkgname=scheme48
-pkgver=1.7
+pkgver=1.8
 pkgrel=1
 pkgdesc="Scheme 48 is an implementation of Scheme"
 arch=(i686)
 depends=(glibc)
-source=(http://www.s48.org/$pkgver/scheme48-$pkgver.tgz scheme48-1.3-makefile.patch)
-md5sums=('62019de0f92ed2a353289d19a8e3c835' '38b25cd9b8f78ca63ed0828175bea9ac')
+license=(custom)
+source=(http://www.s48.org/$pkgver/scheme48-$pkgver.tgz scheme48-1.8-makefile.patch)
+md5sums=('f1c0a515039d4df4e07721f21940ad6d' 'b05b82176a8a6b3b83ef637179776354')
 url="http://www.s48.org/index.html"
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
+  patch -p1 -i $startdir/src/scheme48-1.8-makefile.patch || return 1
   ./configure --prefix=/usr
-  make install DESTDIR=$startdir/pkg mandir=/usr/man/man1 || return 1
+  make install DESTDIR=$startdir/pkg || return 1
+  install -Dm644 $startdir/src/$pkgname-$pkgver/COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
 }
Index: extra/devel/scheme48/scheme48-1.8-makefile.patch
diff -u /dev/null extra/devel/scheme48/scheme48-1.8-makefile.patch:1.1
--- /dev/null	Sun Feb 10 06:47:10 2008
+++ extra/devel/scheme48/scheme48-1.8-makefile.patch	Sun Feb 10 06:47:10 2008
@@ -0,0 +1,14 @@
+diff -ur scheme48-1.8/Makefile.in scheme48-1.8.sic/Makefile.in
+--- scheme48-1.8/Makefile.in	2008-02-10 12:30:42.000000000 +0100
++++ scheme48-1.8.sic/Makefile.in	2008-01-26 16:06:27.000000000 +0100
+@@ -416,8 +416,8 @@
+ 	    -e 's, at LD\@,$(LD),g'					\
+ 	    -e 's, at DYNAMIC_EXTERNALS_CFLAGS\@,$(DYNAMIC_EXTERNALS_CFLAGS),g' \
+ 	    -e 's, at DYNAMIC_EXTERNALS_LDFLAGS\@,$(DYNAMIC_EXTERNALS_LDFLAGS),g' \
+-	< $(srcdir)/build/$(CONFIG_SCRIPT).in > $$config_script &&	\
+-	chmod +x $$config_script
++	< $(srcdir)/build/$(CONFIG_SCRIPT).in > $(DESTDIR)/$$config_script &&	\
++	chmod +x $(DESTDIR)/$$config_script
+ 
+ inst-externals:
+ 	$(INSTALL_PROGRAM) $(POSIX_EXTERNAL) $(SRFI_27_EXTERNAL) $(DESTDIR)$(LIB)/




More information about the arch-commits mailing list