Date: Monday, April 17, 2023 @ 15:25:42
  Author: anatolik
Revision: 1446990

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  124 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-17 15:25:21 UTC (rev 1446989)
+++ PKGBUILD    2023-04-17 15:25:42 UTC (rev 1446990)
@@ -1,62 +0,0 @@
-# Maintainer: Anatol Pomozov <[email protected]>
-# Contributor: Jonne Haß <[email protected]>
-
-pkgname=crystal
-pkgver=1.7.3
-pkgrel=1
-pkgdesc='The Crystal Programming Language'
-arch=(x86_64)
-url='https://crystal-lang.org'
-license=(Apache)
-# LLVM 15 still not supported 
https://github.com/crystal-lang/crystal/issues/12743
-depends=(gc pcre libevent llvm14-libs)
-makedepends=(libxml2 llvm14 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=('3ad94dd2835a58af8dabf18d6cdf3791eb49cdfc6fdc6fd6a4e59abf0e860a6f')
-
-build() {
-  cd $pkgname-$pkgver
-
-  make release=1 interpreter=1 \
-       FLAGS="--release --no-debug" \
-       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_CACHE_DIR="/tmp/crystal"
-}
-
-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 1446989, 
crystal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-17 15:25:42 UTC (rev 1446990)
@@ -0,0 +1,62 @@
+# Maintainer: Anatol Pomozov <[email protected]>
+# Contributor: Jonne Haß <[email protected]>
+
+pkgname=crystal
+pkgver=1.8.0
+pkgrel=1
+pkgdesc='The Crystal Programming Language'
+arch=(x86_64)
+url='https://crystal-lang.org'
+license=(Apache)
+# LLVM 15 still not supported 
https://github.com/crystal-lang/crystal/issues/12743
+depends=(gc pcre libevent llvm14-libs)
+makedepends=(libxml2 llvm14 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=('6353c3b3ca5a1ed6c8b3ee80e5141d130856ebc736c30d1684661001279c2fe1')
+
+build() {
+  cd $pkgname-$pkgver
+
+  make release=1 interpreter=1 \
+       FLAGS="--release --no-debug" \
+       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_CACHE_DIR="/tmp/crystal"
+}
+
+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"
+}

Reply via email to