crystal: update to 0.27.2.

This commit is contained in:
maxice8 2019-02-09 21:21:05 -02:00 committed by maxice8
parent 673bf5b4c3
commit d6a5beaa2c

View file

@ -1,7 +1,7 @@
# Template file for 'crystal'
pkgname=crystal
version=0.27.0
revision=2
version=0.27.2
revision=1
_shardsversion=0.8.1
_bootstrapversion=0.27.0
_bootstraprevision=1
@ -11,15 +11,14 @@ makedepends="gc-devel libatomic_ops pcre-devel libevent-devel libyaml-devel
depends="gc-devel libatomic_ops pcre-devel libevent-devel libyaml-devel
libxml2-devel gmp-devel libressl-devel llvm6.0 gcc pkg-config"
checkdepends="readline-devel libyaml-devel gmp-devel libressl-devel"
short_desc="The Crystal Programming Language"
short_desc="Crystal Programming Language"
maintainer="lvmbdv <ata.kuyumcu@protonmail.com>"
license="Apache-2.0"
homepage="https://crystal-lang.org/"
distfiles="
https://github.com/crystal-lang/crystal/archive/${version}.tar.gz
https://github.com/crystal-lang/shards/archive/v${_shardsversion}.tar.gz"
checksum="
43c8ac1b5c59ccea3cd58c9bd2a7af07a56f96cf1eff1e54d93f648b5340e83a
checksum="d2fe8a025668b143e8ff70b3cd407765140ed10e52523dd08253139f9322171b
75c74ab6acf2d5c59f61a7efd3bbc3c4b1d65217f910340cb818ebf5233207a5"
nocross="FIXME: someone needs to sort out the llvm --cxxflags for cross building"
_crystalflags="--release --no-debug --progress"
@ -58,7 +57,7 @@ do_extract() {
}
do_build() {
if [ -z ${disable_parallel_build} ] && [ -n ${XBPS_MAKEJOBS} ]; then
if [ -z ${disable_parallel_build} ] && [ ${XBPS_MAKEJOBS} ]; then
_crystalflags="${_crystalflags} --threads ${makejobs:2:4}"
fi
make ${makejobs} release=1 FLAGS="${_crystalflags}" \