# $Id: PKGBUILD 99646 2013-10-30 17:19:18Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Vesa Kaihlavirta # Contributor: # Contributor: Alexander Rødseth pkgname=chicken pkgver=4.8.0.5 pkgrel=2 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=('5b9192951bc61cc19dd4963cceb93908bff46b6868d7927f19850e8973c430fb') 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: