diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cda19543faba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Sun Mar 20 15:22:13 UTC 2016 +pkgbase = crystal-icr + pkgdesc = Interactive console for Crystal programming language + pkgver = 0.2.4 + pkgrel = 1 + url = https://github.com/greyblake/crystal-icr + arch = i686 + arch = x86_64 + license = unknown + depends = crystal + depends = readline + source = https://github.com/greyblake/crystal-icr/archive/v0.2.4.tar.gz + sha256sums = 95c9b49532dc1914d34fa1daed23574f62c87ef1c2a0967f4044ede07450f488 + +pkgname = crystal-icr + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..fb476c40885a --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +* +!.gitignore +!PKGBUILD +!*.install +!*.sysusers +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..67bf33beb408 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Oleh Prypin <aur@blaxpirit.com> +pkgname=crystal-icr +pkgver=0.2.4 +pkgrel=1 +pkgdesc="Interactive console for Crystal programming language" +arch=('i686' 'x86_64') +url='https://github.com/greyblake/crystal-icr' +license=('unknown') +depends=('crystal' 'readline') +source=("https://github.com/greyblake/crystal-icr/archive/v$pkgver.tar.gz") +sha256sums=('95c9b49532dc1914d34fa1daed23574f62c87ef1c2a0967f4044ede07450f488') + +build() { + cd "$pkgname-$pkgver" + make +} + +check() { + cd "$pkgname-$pkgver" + make test || true # TODO remove when tests pass +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 bin/icr "$pkgdir/usr/bin/icr" +} |