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

Anatol Pomozov anatolik at archlinux.org
Fri Sep 4 00:04:40 UTC 2020


    Date: Friday, September 4, 2020 @ 00:04:39
  Author: anatolik
Revision: 697811

archrelease: copy trunk to community-x86_64

Added:
  shards/repos/community-x86_64/PKGBUILD
    (from rev 697810, shards/trunk/PKGBUILD)
Deleted:
  shards/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 37 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-04 00:04:25 UTC (rev 697810)
+++ PKGBUILD	2020-09-04 00:04:39 UTC (rev 697811)
@@ -1,32 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-# Contributor: Jonne Haß <me at jhass.eu>
-
-pkgname=shards
-pkgver=0.11.1
-pkgrel=1
-pkgdesc='The package manager for the Crystal language'
-arch=(x86_64)
-url='https://github.com/crystal-lang/shards'
-license=(Apache)
-depends=(libyaml git libevent gc)
-makedepends=(crystal)
-checkdepends=(git)
-source=(shards-$pkgver.tar.gz::https://github.com/crystal-lang/shards/archive/v$pkgver.tar.gz)
-sha256sums=('e78095867334b4058f860c6da8dc3892994769ef51795de74ffb708a66c6847d')
-
-build() {
-  cd shards-$pkgver
-  CRYSTAL_OPTS="--release" make
-}
-
-check() {
-  cd shards-$pkgver
-  # tests are currently failing. TODO: fix it
-  # make test -j1 # https://github.com/crystal-lang/shards/issues/347
-}
-
-package() {
-  cd shards-$pkgver
-  PREFIX=/usr DESTDIR="$pkgdir" make install
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: shards/repos/community-x86_64/PKGBUILD (from rev 697810, shards/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-04 00:04:39 UTC (rev 697811)
@@ -0,0 +1,37 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='The package manager for the Crystal language'
+arch=(x86_64)
+url='https://github.com/crystal-lang/shards'
+license=(Apache)
+depends=(libyaml git libevent gc)
+makedepends=(crystal)
+checkdepends=(git)
+source=(shards-$pkgver.tar.gz::https://github.com/crystal-lang/shards/archive/v$pkgver.tar.gz)
+sha256sums=('f6803ffb58b9dd5e78c3c3ec273941c0f6278d75427937aeb77e37244cd5cad9')
+
+build() {
+  cd shards-$pkgver
+  CRYSTAL_OPTS="--release" make
+}
+
+check() {
+  cd shards-$pkgver
+
+  # remove git config settings once https://github.com/crystal-lang/shards/issues/430 is fixed
+  git config --global user.email "you at example.com"
+  git config --global user.name "Your Name"
+  git config --global column.ui always
+
+  make test -j1 # -j1 is due to this bug https://github.com/crystal-lang/shards/issues/347
+}
+
+package() {
+  cd shards-$pkgver
+  PREFIX=/usr DESTDIR="$pkgdir" make install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list