[arch-commits] Commit in crystal/repos/community-x86_64 (PKGBUILD PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Wed Feb 3 16:56:15 UTC 2021


    Date: Wednesday, February 3, 2021 @ 16:56:14
  Author: anatolik
Revision: 843383

archrelease: copy trunk to community-x86_64

Added:
  crystal/repos/community-x86_64/PKGBUILD
    (from rev 843382, crystal/trunk/PKGBUILD)
Deleted:
  crystal/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  136 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 68 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-03 16:55:55 UTC (rev 843382)
+++ PKGBUILD	2021-02-03 16:56:14 UTC (rev 843383)
@@ -1,68 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-# Contributor: Jonne Haß <me at jhass.eu>
-
-pkgname=crystal
-pkgver=0.36.0
-pkgrel=1
-pkgdesc='The Crystal Programming Language'
-arch=(x86_64)
-url='https://crystal-lang.org'
-license=(Apache)
-depends=(gc libatomic_ops pcre libevent llvm10-libs)
-makedepends=(libxml2 llvm10 crystal) # to compile version N we need crystal compiler of N-1 version
-checkdepends=(libyaml libxml2 gmp inetutils git)
-optdepends=('shards: crystal language package manager'
-            '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=('32ad927e78c4cc85e18136f70cfb9f1798edcc734de4d927b28f4de16c1456d3')
-
-# LLVM 11 support pending: https://github.com/crystal-lang/crystal/issues/9809
-
-build() {
-  cd $pkgname-$pkgver
-
-  make release=1 \
-       FLAGS="--release --no-debug" \
-       CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \
-       CRYSTAL_CONFIG_VERSION="$pkgver" \
-       CRYSTAL_CONFIG_PATH="lib:/usr/lib/crystal" \
-       CRYSTAL_CACHE_DIR="/tmp/crystal"
-  make docs CRYSTAL_CACHE_DIR="/tmp/crystal"
-}
-
-check() {
-  cd $pkgname-$pkgver
-  return # tests require too much RAM, disable it temporary
-
-  make spec CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \
-            CRYSTAL_CONFIG_VERSION="$pkgver" \
-            CRYSTAL_CACHE_DIR="/tmp/crystal" \
-            PATH=".build:$PATH"
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  # /usr/bin/crystal                compiled executable
-  # /usr/lib/crystal/               compiler src & core libs
-  # /usr/share/doc/crystal/api      api docs
-  # /usr/share/doc/crystal/samples/ samples
-
-  install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal"
-
-  install -dm755 "$pkgdir/usr/lib" "$pkgdir/usr/share/man/man1"
-  cp -r src "$pkgdir/usr/lib/crystal"
-
-  install -dm755 "$pkgdir/usr/share/doc/crystal"
-  cp -r docs "$pkgdir/usr/share/doc/crystal/api"
-  cp -r samples "$pkgdir/usr/share/doc/crystal/"
-
-  install -Dm644 man/crystal.1 "$pkgdir/usr/share/man/man1/"
-
-  install -Dm644 etc/completion.bash "$pkgdir/usr/share/bash-completion/completions/crystal"
-  install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: crystal/repos/community-x86_64/PKGBUILD (from rev 843382, crystal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-03 16:56:14 UTC (rev 843383)
@@ -0,0 +1,68 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=crystal
+pkgver=0.36.1
+pkgrel=1
+pkgdesc='The Crystal Programming Language'
+arch=(x86_64)
+url='https://crystal-lang.org'
+license=(Apache)
+depends=(gc libatomic_ops pcre libevent llvm10-libs)
+makedepends=(libxml2 llvm10 crystal) # to compile version N we need crystal compiler of N-1 version
+checkdepends=(libyaml libxml2 gmp inetutils git)
+optdepends=('shards: crystal language package manager'
+            '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=('e6806aa04f60dfe0aaf3cfef103e252f6ac3d8400ea3305b0d1b8463b052ec88')
+
+# LLVM 11 support pending: https://github.com/crystal-lang/crystal/issues/9809
+
+build() {
+  cd $pkgname-$pkgver
+
+  make release=1 \
+       FLAGS="--release --no-debug" \
+       CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \
+       CRYSTAL_CONFIG_VERSION="$pkgver" \
+       CRYSTAL_CONFIG_PATH="lib:/usr/lib/crystal" \
+       CRYSTAL_CACHE_DIR="/tmp/crystal"
+  make docs CRYSTAL_CACHE_DIR="/tmp/crystal"
+}
+
+check() {
+  cd $pkgname-$pkgver
+  return # tests require too much RAM, disable it temporary
+
+  make spec CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \
+            CRYSTAL_CONFIG_VERSION="$pkgver" \
+            CRYSTAL_CACHE_DIR="/tmp/crystal" \
+            PATH=".build:$PATH"
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  # /usr/bin/crystal                compiled executable
+  # /usr/lib/crystal/               compiler src & core libs
+  # /usr/share/doc/crystal/api      api docs
+  # /usr/share/doc/crystal/samples/ samples
+
+  install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal"
+
+  install -dm755 "$pkgdir/usr/lib" "$pkgdir/usr/share/man/man1"
+  cp -r src "$pkgdir/usr/lib/crystal"
+
+  install -dm755 "$pkgdir/usr/share/doc/crystal"
+  cp -r docs "$pkgdir/usr/share/doc/crystal/api"
+  cp -r samples "$pkgdir/usr/share/doc/crystal/"
+
+  install -Dm644 man/crystal.1 "$pkgdir/usr/share/man/man1/"
+
+  install -Dm644 etc/completion.bash "$pkgdir/usr/share/bash-completion/completions/crystal"
+  install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list