diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f2b3d174d99f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = crystal-icr-git + pkgdesc = Interactive console for Crystal programming language. Git version. + pkgver = 0.4.0 + pkgrel = 1 + url = https://github.com/crystal-community/icr + arch = i686 + arch = x86_64 + license = LGPL + makedepends = llvm + depends = crystal + depends = readline + source = git+https://github.com/crystal-community/icr + sha256sums = SKIP + +pkgname = crystal-icr-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0c588f114e7c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Márton Szabó <username="notramo" host="vipmail.hu"> +pkgname=crystal-icr-git +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Interactive console for Crystal programming language. Git version." +arch=(i686 x86_64) +url='https://github.com/crystal-community/icr' +license=(LGPL) +depends=('crystal' 'readline') +makedepends=('llvm') +source=("git+https://github.com/crystal-community/icr") +sha256sums=('SKIP') + +build() { + cd "icr" + make +} + +check() { + cd "icr" + make test +} + +package() { + cd "icr" + install -Dm755 bin/icr "$pkgdir/usr/bin/icr" +} |