Commit 89270ef8 authored by Sören Tempel's avatar Sören Tempel
Browse files

testing/chicken: upgrade to 4.11.0

parent 56e67926
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=chicken pkgname=chicken
pkgver=4.10.0 pkgver=4.11.0
pkgrel=1 pkgrel=0
pkgdesc="R5RS and R7RS compatible scheme compiler and interpreter" pkgdesc="R5RS and R7RS compatible scheme compiler and interpreter"
url="http://call-cc.org/" url="http://call-cc.org/"
arch="all" arch="all"
...@@ -14,27 +14,29 @@ install="" ...@@ -14,27 +14,29 @@ install=""
subpackages="$pkgname-doc $pkgname-libs $pkgname-dev" subpackages="$pkgname-doc $pkgname-libs $pkgname-dev"
source="http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz" source="http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver builddir="$srcdir"/$pkgname-$pkgver
build() { build() {
# chicken does not support parallel builds. # chicken does not support parallel builds.
make -j1 PLATFORM=linux PREFIX=/usr \ make -j1 PLATFORM=linux PREFIX=/usr \
-C "$_builddir" || return 1 -C "$builddir" || return 1
} }
package() { package() {
# chicken does not support parallel installs. # chicken does not support parallel installs.
make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" \ make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" \
-C "$_builddir" install || return 1 -C "$builddir" install || return 1
# Move documentation to /usr/share/doc. # Move documentation to /usr/share/doc.
mkdir -p "$pkgdir"/usr/share/doc/ mkdir -p "$pkgdir"/usr/share/doc/
mv "$pkgdir"/usr/share/$pkgname/doc "$pkgdir"/usr/share/doc/$pkgname || return 1 mv "$pkgdir"/usr/share/$pkgname/doc \
"$pkgdir"/usr/share/doc/$pkgname || return 1
# Move license to /usr/share/licenses # Move license to /usr/share/licenses
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
mv "$pkgdir"/usr/share/doc/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/ || return 1 mv "$pkgdir"/usr/share/doc/$pkgname/LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/ || return 1
} }
md5sums="5585edb369eb2a49f1f92775419852e7 chicken-4.10.0.tar.gz" md5sums="065a6bae6e91e75f6e296cf3f5cb8b1d chicken-4.11.0.tar.gz"
sha256sums="0e07f5abcd11961986950dbeaa5a40db415f8a1b65daff9c300e9b05b334899b chicken-4.10.0.tar.gz" sha256sums="e3dc2b8f95b6a3cd59c85b5bb6bdb2bd9cefc45b5d536a20cad74e3c63f4ad89 chicken-4.11.0.tar.gz"
sha512sums="ff3405652e232ba7b06a8d4fc092772259f0917b1cdd119c0cf38f27ba95fca99d2c053c0f08317014fd7085e8cf89f68b56f22cb82c2988914b972ce59e3e29 chicken-4.10.0.tar.gz" sha512sums="130d9f35ccecda3aefe4790fcb186eef321947013b681f3f978e3b666a45102ed9bc455c9452fe8b0b81c92cd571138c38365dff5bb7382ea2046a8bf3d188ad chicken-4.11.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment