Subject: [alpine-aports] [PATCH] testing/tinyscheme: New aport

From: Marian Buschsieweke <[email-masked]>
Date: Mon, 13 Feb 2017 19:26:31 +0100

A lightweight Scheme interpreter implementing a large subset of R5RS
http://tinyscheme.sourceforge.net/home.html
---
 testing/tinyscheme/APKBUILD | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 testing/tinyscheme/APKBUILD

diff --git a/testing/tinyscheme/APKBUILD b/testing/tinyscheme/APKBUILD
new file mode 100644
index 0000000000..cc4c92b6d6
--- /dev/null
+++ b/testing/tinyscheme/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Marian <[email-masked]>
+# Maintainer: Marian <[email-masked]>
+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"
-- 
2.11.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---