summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2cb2006c5fce7c750b81fb2e5e256de58f0d269c (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 <oleh@pryp.in>
pkgname=crystal-icr
pkgver=0.9.0
pkgrel=2
pkgdesc="Interactive console for Crystal programming language"
arch=(i686 x86_64)
url='https://github.com/crystal-community/icr'
license=(LGPL)
depends=('crystal' 'readline')
makedepends=('shards')
source=("https://github.com/crystal-community/icr/archive/v$pkgver.tar.gz")
sha256sums=('2530293e94b60d69919a79b49e83270f1462058499ad37a762233df8d6e5992c')

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

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

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