From 4241e1e43fc62ab93404e00d2ac1ee4457851336 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 28 Mar 2018 01:51:52 +0200 Subject: testing/icr: new aport https://github.com/crystal-community/icr Interactive console for Crystal programming language --- testing/icr/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/icr/APKBUILD (limited to 'testing') diff --git a/testing/icr/APKBUILD b/testing/icr/APKBUILD new file mode 100644 index 0000000000..77f6b595e4 --- /dev/null +++ b/testing/icr/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Jakub Jirutka +# Maintainer: Jakub Jirutka +pkgname=icr +pkgver=0.5.0 +pkgrel=0 +pkgdesc="Interactive console for Crystal programming language" +url="https://github.com/crystal-community/icr" +arch="x86_64 aarch64" # limited by crystal aport +license="LGPL-3.0-only" +depends="crystal" +makedepends="libxml2-dev readline-dev" +checkdepends="libressl-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/crystal-community/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make install PREFIX="$pkgdir"/usr/bin +} + +sha512sums="4d02548a16ff13503b55bbae62cd7bd41ec429d9d91b55bf4901f27c3f279180fa6e3dcd20af81a318e5be008f7a971e8e01d608905b5a9302f87d46ae1feaf6 icr-0.5.0.tar.gz" -- cgit v1.2.3