diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-28 01:51:52 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-28 01:52:05 +0200 |
commit | 4241e1e43fc62ab93404e00d2ac1ee4457851336 (patch) | |
tree | 6713832b6ea514a630b480325b9dacec02aaadb5 /testing | |
parent | 8a898aa77ccf8526a54b47fa072c462907926fcf (diff) | |
download | aports-4241e1e43fc62ab93404e00d2ac1ee4457851336.tar.bz2 aports-4241e1e43fc62ab93404e00d2ac1ee4457851336.tar.xz |
testing/icr: new aport
https://github.com/crystal-community/icr
Interactive console for Crystal programming language
Diffstat (limited to 'testing')
-rw-r--r-- | testing/icr/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +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" |