Date: Wednesday, May 20, 2020 @ 01:32:13 Author: allan Revision: 386972
archrelease: copy trunk to extra-x86_64 Added: ecl/repos/extra-x86_64/PKGBUILD (from rev 386971, ecl/trunk/PKGBUILD) Deleted: ecl/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 86 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 47 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-20 01:31:57 UTC (rev 386971) +++ PKGBUILD 2020-05-20 01:32:13 UTC (rev 386972) @@ -1,39 +0,0 @@ -# Contributor: John Proctor <jproc...@prium.net> -# Maintainer: juergen <juer...@archlinux.org> - -pkgname=ecl -pkgver=16.1.3 -pkgrel=3 -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=('76a585c616e8fa83a6b7209325a309da5bc0ca68e0658f396f49955638111254') - -build() { - cd $srcdir/$pkgname-$pkgver - sed -i 's|-Wl,--rpath,~A|-Wl,--rpath,/usr/lib/ecl|' src/configure - ./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 386971, ecl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-20 01:32:13 UTC (rev 386972) @@ -0,0 +1,47 @@ +# Contributor: John Proctor <jproc...@prium.net> +# Maintainer: juergen <juer...@archlinux.org> + +pkgname=ecl +pkgver=16.1.3 +pkgrel=4 +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=('76a585c616e8fa83a6b7209325a309da5bc0ca68e0658f396f49955638111254') + +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 +}