crystal-bin: fix checksum for i686

This commit is contained in:
lvmbdv 2017-12-08 00:03:21 +03:00 committed by Toyam Cox
parent 5e556d055f
commit a7b91cbadf
1 changed files with 8 additions and 1 deletions

View File

@ -11,8 +11,15 @@ license="Apache-2.0"
homepage="https://crystal-lang.org/"
distfiles="https://github.com/crystal-lang/crystal/releases/download/0.24.0/crystal-${version}-${_binary_revision}-linux-${XBPS_TARGET_MACHINE}.tar.gz"
#conflicts="crystal"
checksum="9cfdb67885aafb9781c678f20df4275c87365ebe0e9411e17dcb6f84e38e7498"
nopie=yes
case "$XBPS_TARGET_MACHINE" in
i686)
checksum=206be40ae6bb486cf24745f377475f0e311c84b215119372e9ca13768201a460
;;
x86_64)
checksum=9cfdb67885aafb9781c678f20df4275c87365ebe0e9411e17dcb6f84e38e7498
;;
esac
do_extract() {
tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${version}-${_binary_revision}-linux-${XBPS_TARGET_MACHINE}.tar.gz --strip-components=1 -C ${wrksrc}