[arch-commits] Commit in crystal/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Sat Sep 5 19:59:07 UTC 2015
Date: Saturday, September 5, 2015 @ 21:59:06
Author: anatolik
Revision: 139243
upgpkg: crystal 0.7.7-1
Modified:
crystal/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-05 19:58:50 UTC (rev 139242)
+++ PKGBUILD 2015-09-05 19:59:06 UTC (rev 139243)
@@ -3,8 +3,8 @@
# Contributor: Jonne Haß <me at jhass.eu>
pkgname=crystal
-pkgver=0.7.6
-pkgrel=2
+pkgver=0.7.7
+pkgrel=1
_binary_rel=1
pkgdesc='The Crystal Programming Language'
arch=(i686 x86_64)
@@ -19,18 +19,10 @@
source=(crystal-$pkgver.tar.gz::https://github.com/manastech/crystal/archive/$pkgver.tar.gz)
source_i686+=(https://github.com/manastech/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-i686.tar.gz)
source_x86_64+=(https://github.com/manastech/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-x86_64.tar.gz)
-sha256sums=('28ba8fd5ccc43be6bfa8069ce2d61134a8fbed0332c81a2d49629b919d1de5b6')
-sha256sums_i686=('6f9d8d7bb3795c590c49fc7da33110ca9977323ff1bd61fbace589ddb44f57b0')
-sha256sums_x86_64=('5fd6781ecf7243d2a71ec9c1aa93ad6a1fadef0d231c329280720c271183c1ff')
+sha256sums=('5506f69ed59592666aa667a33ba90b07f1de2cc1ebeee25e771715f8521065f8')
+sha256sums_i686=('7a1ccdce29c1437da1cbaafa3fefd5ebc3c4b84b885964a6d4eaf8bfc5922831')
+sha256sums_x86_64=('433acbe8e88fe0c3df67ad64bd436349a6bcfc146284f0a690283ebefb93b5e6')
-prepare() {
- cd $pkgname-$pkgver
- # socket tests are failing because getaddrinfo does not like our chroot environment
- # Crystal 0.7.7 reimplemented getaddrinfo() that seems work in the chroot
- # Remove troublesome test until 0.7.7 release
- rm spec/std/socket_spec.cr
-}
-
build() {
cd $pkgname-$pkgver
@@ -60,11 +52,11 @@
install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal"
install -dm755 "$pkgdir/usr/lib"
- cp -av src "$pkgdir/usr/lib/crystal"
+ cp -r src "$pkgdir/usr/lib/crystal"
install -dm755 "$pkgdir/usr/share/doc/crystal"
- cp -av doc "$pkgdir/usr/share/doc/crystal/api"
- cp -av samples "$pkgdir/usr/share/doc/crystal/"
+ cp -r doc "$pkgdir/usr/share/doc/crystal/api"
+ cp -r samples "$pkgdir/usr/share/doc/crystal/"
install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal"
More information about the arch-commits
mailing list