File PKGBUILD of Package chicken

# $Id$
# Maintainer: Daniel Ziltener <dziltener@lyrion.ch>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: <david@pako.st>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=chicken
pkgver=5.1.0
pkgrel=1
pkgdesc='Compiler for R5RS scheme, featuring handy extensions'
arch=('x86_64' 'i686')
url='http://call-cc.org/'
license=('BSD')
depends=('gcc')
options=('staticlibs')
source=("http://code.call-cc.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.gz")
sha256sums=('5c1101a8d8faabfd500ad69101e0c7c8bd826c68970f89c270640470e7b84b4b')

build() {
  make -C "$pkgname-$pkgver" -j1 PLATFORM=linux PREFIX=/usr
}

package() {
  cd "$pkgname-$pkgver"
  make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

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