diff options
author | haawda | 2017-11-17 23:18:39 +0100 |
---|---|---|
committer | haawda | 2017-11-17 23:18:39 +0100 |
commit | 6e643db9efa3324694506923165ffa2c3ce2adb7 (patch) | |
tree | 8441b4be993e8b7726e6d36db7b14a0b8d11b6dd /PKGBUILD | |
parent | 4d985e588a7e0c70698dc6f0002417a2633bc67b (diff) | |
download | aur-6e643db9efa3324694506923165ffa2c3ce2adb7.tar.gz |
fetch binaries, so it works
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -3,22 +3,21 @@ pkgname=ccl-git pkgver=4730.030b03e3 -pkgrel=1 +pkgrel=2 pkgdesc="The Clozure Common Lisp implementation" url="http://ccl.clozure.com/" license=('APACHE') arch=('i686' 'x86_64') depends=('bash') optdepends=('java-environment: for using emaple file jfli.jar') -makedepends=('svn' 'gcc6') +makedepends=('git') provides=('common-lisp' 'cl-asdf' 'ccl') conflicts=('ccl-bin' 'ccl') -source=("git+https://github.com/Clozure/ccl.git") -sha1sums=('SKIP') - -_arch='' [ "${CARCH}" = 'x86_64' ] && _arch=64 [ "${CARCH}" = 'i686' ] && _arch=32 +source=("git+https://github.com/Clozure/ccl.git" http://svn.clozure.com/publicsvn/openmcl/trunk/source/scripts/get-binaries) +sha1sums=('SKIP' + '3160281c3c8ed63b0019fa00139026d9fdb3259e') pkgver() { cd ccl @@ -26,9 +25,13 @@ pkgver() { } build() { - cd ccl/lisp-kernel/linuxx86$_arch + cd ccl + chmod 700 ../get-binaries + ../get-binaries linuxx86 + cd lisp-kernel/linuxx8664 make -# echo '(ccl:rebuild-ccl :full t)' | ./lx86cl$_arch -n -Q -b + cd ../.. + echo "(ccl:rebuild-ccl :full t)" | ./lx86cl$_arch --no-init --quiet --batch } package() { @@ -37,8 +40,7 @@ package() { # install data install -d "$pkgdir/usr/lib/$pkgname" cp -a {compiler,level-*,lib*,lisp-kernel,objc-bridge,tools,xdump,lx86cl$_arch*} \ - "$pkgdir/usr/lib/$pkgname" - + "$pkgdir"/usr/lib/$pkgname # install examples install -d "$pkgdir/usr/share/$pkgname" cp -a examples "$pkgdir/usr/share/$pkgname" |