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

Anatol Pomozov anatolik at archlinux.org
Tue Sep 6 16:49:44 UTC 2016


    Date: Tuesday, September 6, 2016 @ 16:49:43
  Author: anatolik
Revision: 188876

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

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

-----------------------------------+
 community-testing-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: shards/repos/community-testing-i686/PKGBUILD (from rev 188875, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-09-06 16:49:43 UTC (rev 188876)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.6.4
+pkgrel=1
+pkgdesc='The package manager for the Crystal language'
+arch=(i686 x86_64)
+url='https://github.com/crystal-lang/shards'
+license=(Apache)
+depends=(libyaml git libpcl libevent gc)
+makedepends=(crystal)
+source=(shards-$pkgver.tar.gz::https://github.com/crystal-lang/shards/archive/v$pkgver.tar.gz)
+sha256sums=('5972f1b40bb3253319f564dee513229f82b0dcb8eea1502ae7dc483a9c6da5a0')
+
+build() {
+  cd shards-$pkgver
+  crystal build --release -o bin/shards src/shards.cr
+}
+
+check() {
+  cd shards-$pkgver
+  ./bin/shards install
+  make test
+}
+
+package() {
+  cd shards-$pkgver
+
+  install -Dm755 bin/shards "$pkgdir/usr/bin/shards"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: shards/repos/community-testing-x86_64/PKGBUILD (from rev 188875, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-09-06 16:49:43 UTC (rev 188876)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.6.4
+pkgrel=1
+pkgdesc='The package manager for the Crystal language'
+arch=(i686 x86_64)
+url='https://github.com/crystal-lang/shards'
+license=(Apache)
+depends=(libyaml git libpcl libevent gc)
+makedepends=(crystal)
+source=(shards-$pkgver.tar.gz::https://github.com/crystal-lang/shards/archive/v$pkgver.tar.gz)
+sha256sums=('5972f1b40bb3253319f564dee513229f82b0dcb8eea1502ae7dc483a9c6da5a0')
+
+build() {
+  cd shards-$pkgver
+  crystal build --release -o bin/shards src/shards.cr
+}
+
+check() {
+  cd shards-$pkgver
+  ./bin/shards install
+  make test
+}
+
+package() {
+  cd shards-$pkgver
+
+  install -Dm755 bin/shards "$pkgdir/usr/bin/shards"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list