[arch-commits] Commit in crystal/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Fri Sep 7 05:59:33 UTC 2018
Date: Friday, September 7, 2018 @ 05:59:32
Author: anatolik
Revision: 378420
upgpkg: crystal 0.26.1-1
Pull compilation fix from https://github.com/crystal-lang/crystal/issues/6672
Modified:
crystal/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-06 23:45:32 UTC (rev 378419)
+++ PKGBUILD 2018-09-07 05:59:32 UTC (rev 378420)
@@ -3,7 +3,7 @@
# Contributor: Jonne Haß <me at jhass.eu>
pkgname=crystal
-pkgver=0.26.0
+pkgver=0.26.1
pkgrel=1
pkgdesc='The Crystal Programming Language'
arch=(x86_64)
@@ -16,12 +16,17 @@
'libyaml: For YAML support'
'gmp: For BigInt support'
'libxml2: For XML support')
-source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz)
-sha256sums=('e98cf1403d5182fce888a120cda61918c329244765eaa265a17038bbfb217ba3')
+source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz
+ fix_build.patch::https://github.com/crystal-lang/crystal/commit/b697de03deed7647a7bebe0e0987cb660854bdac.patch)
+sha256sums=('b7c755a7d0f49f572ae5c08b8b0139fcb1c6862c9479dfae74f00e2c8424fcb0'
+ '4f42a13ade130495e683261c5c200112dbb3f56c125dbada7533717393c69138')
prepare() {
cd $pkgname-$pkgver
sed -i 's|Please install shards: https://github.com/ysbaddaden/shards|Please install shards: pacman -S shards|' src/compiler/crystal/command.cr
+
+ # https://github.com/crystal-lang/crystal/issues/6672
+ patch -p1 < ../fix_build.patch
}
build() {
More information about the arch-commits
mailing list