[arch-commits] Commit in sbcl/repos/extra-x86_64 (4 files)
Jürgen Hötzel
juergen at archlinux.org
Sat May 25 16:18:37 UTC 2019
Date: Saturday, May 25, 2019 @ 16:18:36
Author: juergen
Revision: 354294
archrelease: copy trunk to extra-x86_64
Added:
sbcl/repos/extra-x86_64/PKGBUILD
(from rev 354293, sbcl/trunk/PKGBUILD)
sbcl/repos/extra-x86_64/arch-fixes.lisp
(from rev 354293, sbcl/trunk/arch-fixes.lisp)
Deleted:
sbcl/repos/extra-x86_64/PKGBUILD
sbcl/repos/extra-x86_64/arch-fixes.lisp
-----------------+
PKGBUILD | 148 +++++++++++++++++++++++++++---------------------------
arch-fixes.lisp | 42 +++++++--------
2 files changed, 95 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-25 16:18:30 UTC (rev 354293)
+++ PKGBUILD 2019-05-25 16:18:36 UTC (rev 354294)
@@ -1,74 +0,0 @@
-# Contributor: John Proctor <jproctor at prium.net>
-# Contributor: Daniel White <daniel at whitehouse.id.au>
-# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
-# Contributor: Leslie Polzer (skypher)
-
-pkgname=sbcl
-pkgver=1.4.16
-pkgrel=1
-pkgdesc="Steel Bank Common Lisp"
-url="http://www.sbcl.org/"
-arch=('x86_64')
-license=('custom')
-depends=('zlib')
-provides=('common-lisp' 'cl-asdf')
-makedepends=('sbcl')
-source=("https://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2"
- "arch-fixes.lisp")
-sha256sums=('8d93ad1b64815854d0db042c00473fc04b284316c67734be2dd62ddb2727cfd7'
- 'b5a6468dcbc1012cae2c3cda155762a37b6d96ef89bba4f723315063b0b5e7ce')
-
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl"
- export GNUMAKE="make"
-
- # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS
- export LINKFLAGS="$LDFLAGS"
- unset LDFLAGS
- unset MAKEFLAGS
- if [[ ${CARCH} = x86_64 ]]; then
- enable_disable_largefile=enable
- else
- enable_disable_largefile=disable
- fi
- # Make a multi-threaded SBCL, disable LARGEFILE
- cat >customize-target-features.lisp <<EOF
-(lambda (features)
- (flet ((enable (x) (pushnew x features))
- (disable (x) (setf features (remove x features))))
- (enable :sb-thread)
- (enable :sb-core-compression)
- (${enable_disable_largefile} :largefile)))
-EOF
-
- sh make.sh sbcl --prefix=/usr
- make -C doc/manual info
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # cannot have both SBCL_HOME and INSTALL_ROOT
- SBCL_HOME="" INSTALL_ROOT="$pkgdir/usr" sh install.sh
-
- src/runtime/sbcl --core output/sbcl.core --script "${srcdir}/arch-fixes.lisp"
- mv sbcl-new.core "${pkgdir}/usr/lib/sbcl/sbcl.core"
-
- # sources
- mkdir -p "$pkgdir/usr/share/sbcl-source"
- cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib}
-
- # license
- install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/license.txt"
-
- # drop unwanted files
- find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete
- find "$pkgdir/usr/share/sbcl-source" -type f \
- \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete
-
- rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm}
-
-}
Copied: sbcl/repos/extra-x86_64/PKGBUILD (from rev 354293, sbcl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-25 16:18:36 UTC (rev 354294)
@@ -0,0 +1,74 @@
+# Contributor: John Proctor <jproctor at prium.net>
+# Contributor: Daniel White <daniel at whitehouse.id.au>
+# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: Leslie Polzer (skypher)
+
+pkgname=sbcl
+pkgver=1.5.2
+pkgrel=1
+pkgdesc="Steel Bank Common Lisp"
+url="http://www.sbcl.org/"
+arch=('x86_64')
+license=('custom')
+depends=('zlib')
+provides=('common-lisp' 'cl-asdf')
+makedepends=('sbcl')
+source=("https://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2"
+ "arch-fixes.lisp")
+sha256sums=('dac6aef3ec7628c284a31f2222ede5d47d9d94f9cfdffe0f00ef40f9531e3c3f'
+ 'b5a6468dcbc1012cae2c3cda155762a37b6d96ef89bba4f723315063b0b5e7ce')
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl"
+ export GNUMAKE="make"
+
+ # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS
+ export LINKFLAGS="$LDFLAGS"
+ unset LDFLAGS
+ unset MAKEFLAGS
+ if [[ ${CARCH} = x86_64 ]]; then
+ enable_disable_largefile=enable
+ else
+ enable_disable_largefile=disable
+ fi
+ # Make a multi-threaded SBCL, disable LARGEFILE
+ cat >customize-target-features.lisp <<EOF
+(lambda (features)
+ (flet ((enable (x) (pushnew x features))
+ (disable (x) (setf features (remove x features))))
+ (enable :sb-thread)
+ (enable :sb-core-compression)
+ (${enable_disable_largefile} :largefile)))
+EOF
+
+ sh make.sh sbcl --prefix=/usr
+ make -C doc/manual info
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # cannot have both SBCL_HOME and INSTALL_ROOT
+ SBCL_HOME="" INSTALL_ROOT="$pkgdir/usr" sh install.sh
+
+ src/runtime/sbcl --core output/sbcl.core --script "${srcdir}/arch-fixes.lisp"
+ mv sbcl-new.core "${pkgdir}/usr/lib/sbcl/sbcl.core"
+
+ # sources
+ mkdir -p "$pkgdir/usr/share/sbcl-source"
+ cp -R -t "$pkgdir/usr/share/sbcl-source" "$srcdir/$pkgname-$pkgver/"{src,contrib}
+
+ # license
+ install -D -m644 "$srcdir/$pkgname-$pkgver/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+
+ # drop unwanted files
+ find "$pkgdir" \( -name Makefile -o -name .cvsignore \) -delete
+ find "$pkgdir/usr/share/sbcl-source" -type f \
+ \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete
+
+ rm "$pkgdir/usr/share/sbcl-source/src/runtime/sbcl"{,.nm}
+
+}
Deleted: arch-fixes.lisp
===================================================================
--- arch-fixes.lisp 2019-05-25 16:18:30 UTC (rev 354293)
+++ arch-fixes.lisp 2019-05-25 16:18:36 UTC (rev 354294)
@@ -1,21 +0,0 @@
-(in-package "COMMON-LISP-USER")
-
-(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source")))
- (src
- (merge-pathnames
- (make-pathname :directory '(:relative "src" :wild-inferiors)
- :name :wild :type :wild)
- parent))
- (contrib
- (merge-pathnames
- (make-pathname :directory '(:relative "contrib" :wild-inferiors)
- :name :wild :type :wild)
- parent)))
- (setf (logical-pathname-translations "SYS")
- `(("SYS:SRC;**;*.*.*" ,src)
- ("SYS:CONTRIB;**;*.*.*" ,contrib))))
-
-(ignore-errors
- (sb-ext:gc :full t)
- (sb-ext:enable-debugger)
- (sb-ext:save-lisp-and-die "sbcl-new.core"))
Copied: sbcl/repos/extra-x86_64/arch-fixes.lisp (from rev 354293, sbcl/trunk/arch-fixes.lisp)
===================================================================
--- arch-fixes.lisp (rev 0)
+++ arch-fixes.lisp 2019-05-25 16:18:36 UTC (rev 354294)
@@ -0,0 +1,21 @@
+(in-package "COMMON-LISP-USER")
+
+(let* ((parent (make-pathname :directory '(:absolute "usr" "share" "sbcl-source")))
+ (src
+ (merge-pathnames
+ (make-pathname :directory '(:relative "src" :wild-inferiors)
+ :name :wild :type :wild)
+ parent))
+ (contrib
+ (merge-pathnames
+ (make-pathname :directory '(:relative "contrib" :wild-inferiors)
+ :name :wild :type :wild)
+ parent)))
+ (setf (logical-pathname-translations "SYS")
+ `(("SYS:SRC;**;*.*.*" ,src)
+ ("SYS:CONTRIB;**;*.*.*" ,contrib))))
+
+(ignore-errors
+ (sb-ext:gc :full t)
+ (sb-ext:enable-debugger)
+ (sb-ext:save-lisp-and-die "sbcl-new.core"))
More information about the arch-commits
mailing list