crystal: update to 0.25.1
Closes: #987 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
45aff3a68a
commit
f31a1e1952
1 changed files with 12 additions and 13 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'crystal'
|
||||
pkgname=crystal
|
||||
version=0.24.1
|
||||
revision=6
|
||||
_shardsversion=0.7.2
|
||||
_bootstrapversion=0.24.1
|
||||
_bootstraprevision=2
|
||||
version=0.25.1
|
||||
revision=1
|
||||
_shardsversion=0.8.1
|
||||
_bootstrapversion=0.25.1
|
||||
_bootstraprevision=1
|
||||
hostmakedepends="git llvm"
|
||||
makedepends="gc-devel libatomic_ops pcre-devel libevent-devel libyaml-devel
|
||||
libxml2-devel"
|
||||
|
@ -16,11 +16,10 @@ maintainer="lvmbdv <ata.kuyumcu@protonmail.com>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://crystal-lang.org/"
|
||||
distfiles="
|
||||
https://github.com/crystal-lang/crystal/archive/v${version}.tar.gz
|
||||
https://github.com/crystal-lang/crystal/archive/${version}.tar.gz
|
||||
https://github.com/crystal-lang/shards/archive/v${_shardsversion}.tar.gz"
|
||||
checksum="
|
||||
4999a4d2a9ffc7bfbea8351b97057c3a135c2091cbd518e5c22ea7f5392b67d8
|
||||
97a3681e74d2fdcba0575f6906f4ba0aefc709a2eb672c7289c63176ff4f3be2"
|
||||
checksum="9b5a7bd2de67ab36cc5430133228a1e656a431fc7d928a37a61109bd8da77fc6
|
||||
75c74ab6acf2d5c59f61a7efd3bbc3c4b1d65217f910340cb818ebf5233207a5"
|
||||
nocross="FIXME: someone needs to sort out the llvm --cxxflags for cross building"
|
||||
_crystalflags="--release --no-debug --progress"
|
||||
|
||||
|
@ -31,12 +30,12 @@ desc_option_binary_bootstrap="Bootstrap using precompiled binaries"
|
|||
if [ "$build_option_binary_bootstrap" ]; then
|
||||
case "$XBPS_MACHINE" in
|
||||
x86_64)
|
||||
distfiles+=" https://github.com/crystal-lang/crystal/releases/download/v${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-x86_64.tar.gz"
|
||||
checksum+=" b75df8522f2302270b48e6b77812a0cb0086e338cdf884227e0076afbf83aca7"
|
||||
distfiles+=" https://github.com/crystal-lang/crystal/releases/download/${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-x86_64.tar.gz"
|
||||
checksum+=" 943ea77a976e80d2b3558ef525d2c9fa7fc3d41d6b5799923e378408d75e557e"
|
||||
;;
|
||||
i686)
|
||||
distfiles+=" https://github.com/crystal-lang/crystal/releases/download/v${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-i686.tar.gz"
|
||||
checksum+=" 4f45f8ea57486be0f8d035c466edda848b7e1a7aa809fff4ea31311fd8ebea97"
|
||||
checksum+=" ff0e38021cb20ad7cea3aaba78350a4ae22c4dc48563ba482aa3a87eb07e1044"
|
||||
;;
|
||||
*)
|
||||
broken="cannot be built on $XBPS_MACHINE"
|
||||
|
@ -49,7 +48,7 @@ fi
|
|||
do_extract() {
|
||||
mkdir -p ${wrksrc}/{shards,$(vopt_if binary_bootstrap bootstrap)}
|
||||
|
||||
tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${version}.tar.gz --strip-components=1 -C ${wrksrc}
|
||||
tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${version}.tar.gz --strip-components=1 -C ${wrksrc}
|
||||
tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${_shardsversion}.tar.gz --strip-components=1 -C ${wrksrc}/shards
|
||||
if [ "$build_option_binary_bootstrap" ]; then
|
||||
tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-${XBPS_TARGET_MACHINE}.tar.gz \
|
||||
|
|
Loading…
Reference in a new issue