[arch-commits] Commit in crystal/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Sun Sep 10 21:34:57 UTC 2017


    Date: Sunday, September 10, 2017 @ 21:34:56
  Author: anatolik
Revision: 256833

upgpkg: crystal 0.23.1-2

llvm5 rebuild

Modified:
  crystal/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-10 21:31:52 UTC (rev 256832)
+++ PKGBUILD	2017-09-10 21:34:56 UTC (rev 256833)
@@ -4,7 +4,7 @@
 
 pkgname=crystal
 pkgver=0.23.1
-pkgrel=1
+pkgrel=2
 _binary_rel=3
 pkgdesc='The Crystal Programming Language'
 arch=(i686 x86_64)
@@ -17,10 +17,12 @@
             '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)
+source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz
+        llvm5.patch::https://github.com/crystal-lang/crystal/commit/3d48a9628d57cea739f30583fa6092aa9dd90be3.patch)
 source_i686+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-i686.tar.gz)
 source_x86_64+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-x86_64.tar.gz)
-sha256sums=('8cf1b9a4eab29fca2f779ea186ae18f7ce444ce189c621925fa1a0c61dd5ff55')
+sha256sums=('8cf1b9a4eab29fca2f779ea186ae18f7ce444ce189c621925fa1a0c61dd5ff55'
+            '13af142a262a20c05076863bdffd881c9c96c754b8f48a89f35a8295ab83394c')
 sha256sums_i686=('268a39b8d37385ff60d113d4d9fc966472160faa1e3bbf7ae58860ab6678aceb')
 sha256sums_x86_64=('6a84cc866838ffa5250e28c3ce1a918a93f89c06393fe8cfd4068fcbbc66f3ab')
 
@@ -27,6 +29,8 @@
 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
+
+  patch -p1 < ../llvm5.patch
 }
 
 build() {



More information about the arch-commits mailing list