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

Anatol Pomozov anatolik at archlinux.org
Wed Dec 23 19:25:48 UTC 2015


    Date: Wednesday, December 23, 2015 @ 20:25:48
  Author: anatolik
Revision: 154403

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 154402, shards/trunk/PKGBUILD)
  shards/repos/community-testing-x86_64/
  shards/repos/community-testing-x86_64/PKGBUILD
    (from rev 154402, 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 154402, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-12-23 19:25:48 UTC (rev 154403)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.5.4
+pkgrel=1
+pkgdesc='The package manager for the Crystal language'
+arch=(i686 x86_64)
+url='https://github.com/ysbaddaden/shards'
+license=(Apache)
+depends=(libyaml git libpcl libevent gc)
+makedepends=(crystal)
+source=(shards-$pkgver.tar.gz::https://github.com/ysbaddaden/shards/archive/v$pkgver.tar.gz)
+sha256sums=('759a925347fa69a9fbd070e0ba7d9be2d5fe409a9bc9a6d1d29090f2045e63c1')
+
+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 154402, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-12-23 19:25:48 UTC (rev 154403)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.5.4
+pkgrel=1
+pkgdesc='The package manager for the Crystal language'
+arch=(i686 x86_64)
+url='https://github.com/ysbaddaden/shards'
+license=(Apache)
+depends=(libyaml git libpcl libevent gc)
+makedepends=(crystal)
+source=(shards-$pkgver.tar.gz::https://github.com/ysbaddaden/shards/archive/v$pkgver.tar.gz)
+sha256sums=('759a925347fa69a9fbd070e0ba7d9be2d5fe409a9bc9a6d1d29090f2045e63c1')
+
+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