aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tinyscheme/APKBUILD
blob: ffb3affaf8624dcb0edbd91a9d14c1d5f6b2ee4a (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
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.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="https://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"