[arch-commits] Commit in ecl/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Jun 28 09:55:51 UTC 2020


    Date: Sunday, June 28, 2020 @ 09:55:50
  Author: arojas
Revision: 390537

archrelease: copy trunk to extra-x86_64

Added:
  ecl/repos/extra-x86_64/PKGBUILD
    (from rev 390536, ecl/trunk/PKGBUILD)
Deleted:
  ecl/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 50 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-28 09:55:37 UTC (rev 390536)
+++ PKGBUILD	2020-06-28 09:55:50 UTC (rev 390537)
@@ -1,47 +0,0 @@
-# Contributor: John Proctor <jproctor at prium.net>
-# Maintainer: juergen <juergen at archlinux.org>
-
-pkgname=ecl
-pkgver=20.4.24
-pkgrel=1
-pkgdesc="Embeddable Common Lisp"
-arch=('x86_64')
-url="https://common-lisp.net/project/ecl/"
-license=('LGPL')
-depends=('bash' 'gmp')
-makedepends=('texinfo')
-provides=('common-lisp' 'cl-asdf')
-options=('!makeflags')
-source=("https://common-lisp.net/project/ecl/static/files/release/${pkgname}-${pkgver}.tgz")
-sha256sums=('670838edf258a936b522fdb620da336de7e575aa0d27e34841727252726d0f07')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # upstream patch: https://gitlab.com/sagemath/dev/trac/-/commit/ed7bc14f751a76ad88c506cd33beb7f3e1030ff5
-  sed -i "s/FFI_SYSV/FFI_UNIX64/" src/c/ffi.d
-}
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure
-  CFLAGS+=" -fcommon"
-  ./configure \
-    --build=$CHOST \
-    --prefix=/usr \
-    --with-tcp \
-    --with-serve-event \
-    --with-clos-streams \
-    --with-system-gmp \
-    --without-x \
-    --without-clx \
-    --enable-threads \
-    --enable-shared \
-    --enable-boehm=included \
-
-  make
-}
-
-package() {
-  make -C $srcdir/$pkgname-$pkgver DESTDIR=$pkgdir install
-}

Copied: ecl/repos/extra-x86_64/PKGBUILD (from rev 390536, ecl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-28 09:55:50 UTC (rev 390537)
@@ -0,0 +1,50 @@
+# Contributor: John Proctor <jproctor at prium.net>
+# Maintainer: juergen <juergen at archlinux.org>
+
+pkgname=ecl
+pkgver=20.4.24 # Remember to rebuild sagemath when the soname changes 
+pkgrel=2
+pkgdesc="Embeddable Common Lisp"
+arch=('x86_64')
+url="https://common-lisp.net/project/ecl/"
+license=('LGPL')
+depends=('bash' 'gmp')
+makedepends=('texinfo')
+provides=('common-lisp' 'cl-asdf')
+options=('!makeflags')
+source=("https://common-lisp.net/project/ecl/static/files/release/${pkgname}-${pkgver}.tgz"
+         https://gitlab.com/embeddable-common-lisp/ecl/-/commit/75877dd8.patch)
+sha256sums=('670838edf258a936b522fdb620da336de7e575aa0d27e34841727252726d0f07'
+            '2c4896efc51114c0db0c0203a57379b3f1407e1107bf3443fe956d358221292c')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -p1 -i ../75877dd8.patch # Fix segfaults in sagemath
+  # upstream patch: https://gitlab.com/sagemath/dev/trac/-/commit/ed7bc14f751a76ad88c506cd33beb7f3e1030ff5
+  sed -i "s/FFI_SYSV/FFI_UNIX64/" src/c/ffi.d
+}
+
+build() {
+  cd $pkgname-$pkgver
+  sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure
+  CFLAGS+=" -fcommon"
+  ./configure \
+    --build=$CHOST \
+    --prefix=/usr \
+    --with-tcp \
+    --with-serve-event \
+    --with-clos-streams \
+    --with-system-gmp \
+    --without-x \
+    --without-clx \
+    --enable-threads \
+    --enable-shared \
+    --enable-boehm=included \
+
+  make
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list