Search Criteria
Package Details: crystal-git 0.30.1.r43.g59fb22d4b-1
Git Clone URL: | https://aur.archlinux.org/crystal-git.git (read-only, click to copy) |
---|---|
Package Base: | crystal-git |
Description: | The Crystal Programming Language |
Upstream URL: | http://crystal-lang.org |
Keywords: | compiler crystal programming |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | drizz |
Maintainer: | jhass (bararchy) |
Last Packager: | jhass |
Votes: | 7 |
Popularity: | 0.014823 |
First Submitted: | 2014-04-28 23:08 |
Last Updated: | 2019-08-13 18:01 |
Dependencies (17)
- gc
- libatomic_ops
- libevent (libevent-git, libevent-fb)
- pcre (pcre-svn)
- git (git-git) (check)
- gmp (gmp-hg) (check)
- inetutils (inetutils-git) (check)
- libxml2 (libxml2-linenum, libxml2-git) (check)
- libyaml (libyaml-git) (check)
- crystal (crystal-git) (make)
- git (git-git) (make)
- libxml2 (libxml2-linenum, libxml2-git) (make)
- llvm (llvm-assert, llvm-pypy-stm, llvm39, llvm38, clang-trunk) (make)
- gmp (gmp-hg) (optional) – For BigInt support
- libxml2 (libxml2-linenum, libxml2-git) (optional) – For XML support
- libyaml (libyaml-git) (optional) – For YAML support
- shards (shards-git) (optional) – To make the crystal deps command work
Required by (28)
- amber (requires crystal)
- ameba (requires crystal)
- audition-git (requires crystal) (make)
- auto-display-manager-cr-git (requires crystal) (make)
- autopass.cr (requires crystal) (make)
- autopass.cr-git (requires crystal) (make)
- camo.cr-git (requires crystal) (make)
- cracker (requires crystal) (make)
- crystal-cake (requires crystal)
- crystal-git (requires crystal) (make)
- crystal-icr (requires crystal)
- crystal-icr-git (requires crystal)
- dazzlie-git (requires crystal) (make)
- firegrid (requires crystal) (make)
- fogtrack (requires crystal) (make)
- guardian-git (requires crystal) (make)
- guardian-noemoji-git (requires crystal) (make)
- hless-git (requires crystal) (make)
- inject-git (requires crystal) (make)
- ketchup-git (make)
- lucky (requires crystal)
- lucky-git (requires crystal)
- neph-git (requires crystal) (make)
- queryit (requires crystal) (make)
- scry-git (requires crystal)
- sentry-watcher (requires crystal) (make)
- shards-git (requires crystal) (make)
- transfer-more (requires crystal) (make)
Latest Comments
1 2 Next › Last »
omarroth commented on 2019-08-02 20:40
For the latest version of Crystal:
anatolik commented on 2017-01-25 01:09
Running tests in a build chroot gives following error:
Failures:
1) Process find_executable searches within PATH
Failure/Error: (path = Process.find_executable("crystal")).should_not be_nil
expected: actual_value != nil
got: nil
# spec/std/process_spec.cr:234
Finished in 11:24 minutes
11869 examples, 1 failures, 0 errors, 13 pending
Failed examples:
crystal spec spec/std/process_spec.cr:230 # Process find_executable searches within PATH
make: *** [Makefile:76: spec] Error 1
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-i686/anatol/build
jhass commented on 2017-01-22 18:09
Crystal is self hosted, your package only works if you happen to have Crystal installed while building.
Zatherz commented on 2017-01-22 17:12
-git packages are supposed to pull the latest git master, not the latest release.
Use this PKGBUILD: https://hastebin.com/zeceriwaco.bash.
bararchy commented on 2017-01-08 11:15
PKGBUILD for 0.20.4
# Maintainer: Jonne Haß <me@jhass.eu>
# Contributor: Mikkel Kroman <mk@maero.dk>
pkgname=crystal-git
pkgver=0.20.4.r0.gd1f8c42f8
_last_release="0.20.4-1"
pkgrel=1
pkgdesc="The Crystal Programming Language"
arch=('i686' 'x86_64')
url="http://crystal-lang.org"
license=('Apache')
depends=('gc' 'libatomic_ops' 'pcre' 'libevent')
makedepends=('git' 'libxml2' 'llvm')
checkdepends=('libyaml' 'libxml2' 'gmp' 'git' 'inetutils')
optdepends=('shards: To make the crystal deps command work'
'libyaml: For YAML support'
'gmp: For BigInt support'
'libxml2: For XML support')
conflicts=('crystal')
provides=('crystal')
source=("git+https://github.com/crystal-lang/crystal.git")
source_i686+=("https://github.com/crystal-lang/crystal/releases/download/${_last_release/-*/}/${pkgname/-git/}-$_last_release-linux-i686.tar.gz")
source_x86_64+=("https://github.com/crystal-lang/crystal/releases/download/${_last_release/-*/}/${pkgname/-git/}-$_last_release-linux-x86_64.tar.gz")
pkgver() {
cd "$srcdir/${pkgname/-git/}"
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "$srcdir/${pkgname/-git/}"
make release=1 \
PATH="$srcdir/${pkgname/-git/}-$_last_release/bin:$PATH" \
CRYSTAL_PATH="$srcdir/${pkgname/-git/}/src" \
CRYSTAL_CONFIG_PATH="lib:/usr/lib/crystal" \
CRYSTAL_CACHE_DIR="/tmp/crystal"
make doc CRYSTAL_CACHE_DIR="/tmp/crystal"
}
check() {
cd "$srcdir/${pkgname/-git/}"
make spec \
CRYSTAL_PATH="$srcdir/${pkgname/-git/}/src" \
CRYSTAL_CONFIG_VERSION="$pkgver" \
CRYSTAL_CACHE_DIR="/tmp/crystal"
}
package() {
cd "$srcdir/${pkgname/-git/}"
# /usr/bin/crystal compiled executable
# /usr/lib/crystal/ compiler src & core libs
# /usr/share/doc/crystal/api/ api docs
# /usr/share/doc/crystal/samples/ samples
install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal"
install -dm755 "$pkgdir/usr/lib"
cp -av src "$pkgdir/usr/lib/crystal"
install -dm755 "$pkgdir/usr/share/doc/crystal"
cp -av doc "$pkgdir/usr/share/doc/crystal/api"
cp -av samples "$pkgdir/usr/share/doc/crystal/"
install -Dm644 etc/completion.bash "$pkgdir/usr/share/bash-completion/completions/crystal"
install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha256sums=('SKIP')
sha256sums_i686=('85edfa1dda5e712341869bab87f6de0f7c6860e2a04dec2f00e8dc6aa1418611')
sha256sums_x86_64=('cdc11c30235f8bd3b89e1fc13b56838f99d585715fb66563d6599026f5393e37')
jhass commented on 2016-04-04 10:01
Fixed, thanks!
oprypin commented on 2016-04-04 07:17
This doesn't seem right: source_x86_64+=("...-i686.tar.gz")
jhass commented on 2015-03-16 02:31
Right, and libevent is a dependency now too. I always forget to update this package until the next release :P
anatolik commented on 2015-03-16 00:54
It looks like libpcl is a hard dependency and have to be installed (i.e. it should be moved to depends= list)
drizz commented on 2015-01-22 13:38
Sure. Thanks. Disowning now.