blob: 9083005d89bd581a28236ed94645d6020a88ad52 (
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
|
# Maintainer: Oleh Prypin <aur@blaxpirit.com>
pkgname=crystal-icr
pkgver=0.2.7
pkgrel=2
pkgdesc="Interactive console for Crystal programming language"
arch=(i686 x86_64)
url='https://github.com/greyblake/crystal-icr'
license=(LGPL)
depends=('crystal' 'readline')
makedepends=('llvm35')
source=("https://github.com/greyblake/crystal-icr/archive/v$pkgver.tar.gz")
sha256sums=('1a1e32e95da650264f748eb65f9f63e7a94eb39c3794ab3b031e5c4826ee1068')
build() {
cd "$pkgname-$pkgver"
make
}
check() {
cd "$pkgname-$pkgver"
make test
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 bin/icr "$pkgdir/usr/bin/icr"
}
|