aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tinyscheme/APKBUILD
blob: c8aeff3ad882a3c268b60173282cd2ec90f3cb7a (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
# Contributor: Marian <m.buschsieweke@uni-muenster.de>
# Maintainer: Marian <m.buschsieweke@uni-muenster.de>
pkgname=tinyscheme
pkgver=1.41
pkgrel=0
pkgdesc="A lightweight Scheme interpreter implementing a large subset of R5RS"
url="http://tinyscheme.sourceforge.net/home.html"
arch="all"
license="BSD"
makedepends=""
subpackages=""
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make all
}

package() {
	cd "$builddir"
	mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/lib"
	install -Dm755 scheme "${pkgdir}/usr/bin/tinyscheme"
	install -Dm644 libtinyscheme.so "${pkgdir}/usr/lib/libtinyscheme.so"
}
sha512sums="a9c1c9cd7a11bf31e0f8ac813ebd6e731cb56b9526fd14d343d7f8c479a8e1b561b744b3f522512adc023cacd1acbf52aa18bf5d8db68f767971660305b79b0f  tinyscheme-1.41.tar.gz"