blob: 244dc35b3fadf17a4b285ef5244028f45dca02bf (
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
26
27
28
29
30
31
|
# 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"
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"
|