Subject: [PATCH] testing/retroforth: new aport

From: Siva Mahadevan <[email-masked]>
Date: Sat, 20 Feb 2021 00:01:22 -0500

https://forthworks.com/retro
RETRO is a clean, elegant, and pragmatic dialect of Forth.
---
 testing/retroforth/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/retroforth/APKBUILD

diff --git a/testing/retroforth/APKBUILD b/testing/retroforth/APKBUILD
new file mode 100644
index 0000000000..a7385b81dd
--- /dev/null
+++ b/testing/retroforth/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Siva Mahadevan <[email-masked]>
+# Maintainer: Siva Mahadevan <[email-masked]>
+pkgname=retroforth
+pkgver=2021.2
+pkgrel=0
+pkgdesc="clean, elegant, and pragmatic dialect of Forth"
+url="https://forthworks.com/retro"
+arch="all"
+license="ISC"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://forthworks.com/retro/r/RETRO12-$pkgver.tar.gz"
+builddir="$srcdir/RETRO12-$pkgver"
+
+build() {
+	make
+}
+
+check() {
+	make test
+}
+
+package() {
+	# Remove when upstream fixes the 'install-manpages' target
+	local mandir="$pkgdir/usr/share/man/man1"
+	install -m 755 -d "$mandir"
+	make DESTDIR="$pkgdir" PREFIX="/usr" MANDIR="$mandir" install
+}
+
+sha512sums="88041bd0a899e31260bdd745e18fbc81ad3ddbfbd92cf31924ea1c5bd0156d98f9454220a6367eced6e94499e69af9b091977700d15fb63f9be36628eeb69e3c  retroforth-2021.2.tar.gz"
-- 
2.30.1