summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fac1122e0587fb8c23a3d98436e3d51472239be4 (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
# Maintainer: Oleh Prypin <aur@blaxpirit.com>
pkgname=crystal-icr
pkgver=0.6.0
pkgrel=1
pkgdesc="Interactive console for Crystal programming language"
arch=(i686 x86_64)
url='https://github.com/crystal-community/icr'
license=(LGPL)
depends=('crystal' 'readline')
source=("https://github.com/crystal-community/icr/archive/v$pkgver.tar.gz")
sha256sums=('970d5ecbde6bb370c8178339db42e7812b7a2f3a5db3eec868cc18c19523c0ea')

build() {
  cd "icr-$pkgver"
  make
}

# check() {
#   cd "icr-$pkgver"
#   make test
# }

package() {
  cd "icr-$pkgver"
  install -Dm755 bin/icr "$pkgdir/usr/bin/icr"
}