crystal-bin: fix checksum for i686
This commit is contained in:
parent
5e556d055f
commit
a7b91cbadf
1 changed files with 8 additions and 1 deletions
|
@ -11,8 +11,15 @@ license="Apache-2.0"
|
||||||
homepage="https://crystal-lang.org/"
|
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"
|
distfiles="https://github.com/crystal-lang/crystal/releases/download/0.24.0/crystal-${version}-${_binary_revision}-linux-${XBPS_TARGET_MACHINE}.tar.gz"
|
||||||
#conflicts="crystal"
|
#conflicts="crystal"
|
||||||
checksum="9cfdb67885aafb9781c678f20df4275c87365ebe0e9411e17dcb6f84e38e7498"
|
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686)
|
||||||
|
checksum=206be40ae6bb486cf24745f377475f0e311c84b215119372e9ca13768201a460
|
||||||
|
;;
|
||||||
|
x86_64)
|
||||||
|
checksum=9cfdb67885aafb9781c678f20df4275c87365ebe0e9411e17dcb6f84e38e7498
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${version}-${_binary_revision}-linux-${XBPS_TARGET_MACHINE}.tar.gz --strip-components=1 -C ${wrksrc}
|
tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${version}-${_binary_revision}-linux-${XBPS_TARGET_MACHINE}.tar.gz --strip-components=1 -C ${wrksrc}
|
||||||
|
|
Loading…
Reference in a new issue