summaryrefslogtreecommitdiff
path: root/community/chicken/PKGBUILD
blob: a035498ff13b065569f5025ec13f1722af23f6dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 81004 2012-12-09 14:30:25Z arodseth $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: <david@pako.st>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=chicken
pkgver=4.8.0
pkgrel=1
pkgdesc='Compiler for R5RS scheme, featuring handy extensions'
arch=('x86_64' 'i686')
url='http://www.call-with-current-continuation.org/'
license=('BSD')
depends=('gcc')
source=("http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('5b2e8c6b4b13b502d8c684b394d80ed490d2884c03789353d895ab85d19979ab')

build() {
  cd $pkgname-$pkgver

  # parallel builds are not supported..
  export MAKEFLAGS="${MAKEFLAGS/-j?/}"

  # some yummy make options there. check out README in the tarball.
  make PLATFORM=linux PREFIX=/usr
}

package() {
  cd $pkgname-$pkgver
  
  # parallel builds are not supported..
  export MAKEFLAGS="${MAKEFLAGS/-j?/}"
  make PLATFORM=linux PREFIX=/usr DESTDIR=$pkgdir install

  install -D -m644 LICENSE \
    $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

# vim:set ts=2 sw=2 et: