[arch-commits] Commit in shards/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Sun Jun 21 18:06:28 UTC 2020


    Date: Sunday, June 21, 2020 @ 18:06:27
  Author: anatolik
Revision: 649855

archrelease: copy trunk to community-testing-x86_64

Added:
  shards/repos/community-testing-x86_64/
  shards/repos/community-testing-x86_64/PKGBUILD
    (from rev 649854, shards/trunk/PKGBUILD)

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

Copied: shards/repos/community-testing-x86_64/PKGBUILD (from rev 649854, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-06-21 18:06:27 UTC (rev 649855)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.11.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=('d1b58ec81c6acc2bf7ecad4e2868e05f74a57647318a167c7324f706b568bfff')
+
+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"
+}



More information about the arch-commits mailing list