summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b81e84876239d898b4fb8f582648136a52c42853 (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
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>

pkgname=chibi-scheme
pkgver=0.11.0
pkgrel=1
pkgdesc='Minimal R7RS scheme implementation for use as an extension language'
arch=(x86_64 i686)
url=http://synthcode.com/wiki/chibi-scheme
license=(BSD-3-Clause)
depends=(bash glibc)
source=("http://synthcode.com/scheme/chibi/${pkgname}-${pkgver}.tgz")
b2sums=('68dc87f79acc86c87ed99ce84b6a3ad0ed089678acbf338acd26ff7a548dcbdc40d2ec00036c5361ffbd9aa710b3b645b7d2ec3ed9015ae8eed42dc7e1e4ba29')

build() {
  cd "${pkgname}-${pkgver}"
  make PREFIX="/usr"
}

package() {
  cd "${pkgname}-${pkgver}"
  make PREFIX="$pkgdir/usr" install
}

check() {
  cd "${pkgname}-${pkgver}"
  make test
}