[arch-commits] Commit in shards/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Sun Sep 27 16:07:36 UTC 2015
Date: Sunday, September 27, 2015 @ 18:07:36
Author: anatolik
Revision: 141701
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 141699, shards/trunk/PKGBUILD)
shards/repos/community-testing-x86_64/
shards/repos/community-testing-x86_64/PKGBUILD
(from rev 141699, shards/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: shards/repos/community-testing-i686/PKGBUILD (from rev 141699, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-09-27 16:07:36 UTC (rev 141701)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.4.0
+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 libunwind libevent gc)
+makedepends=(crystal)
+source=(shards-$pkgver.tar.gz::https://github.com/ysbaddaden/shards/archive/v$pkgver.tar.gz)
+sha256sums=('fff0f3c6562023fd279c80becf3683d2ac922ff097dda12f544f51f4b383ae5c')
+
+build() {
+ cd $pkgname-$pkgver
+ crystal build --release -o bin/shards src/shards.cr
+}
+
+check() {
+ cd $pkgname-$pkgver
+ # tests currently fail in clean chroot
+ #./bin/shards install
+ #make test
+}
+
+package() {
+ cd $pkgname-$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 141699, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-09-27 16:07:36 UTC (rev 141701)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.4.0
+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 libunwind libevent gc)
+makedepends=(crystal)
+source=(shards-$pkgver.tar.gz::https://github.com/ysbaddaden/shards/archive/v$pkgver.tar.gz)
+sha256sums=('fff0f3c6562023fd279c80becf3683d2ac922ff097dda12f544f51f4b383ae5c')
+
+build() {
+ cd $pkgname-$pkgver
+ crystal build --release -o bin/shards src/shards.cr
+}
+
+check() {
+ cd $pkgname-$pkgver
+ # tests currently fail in clean chroot
+ #./bin/shards install
+ #make test
+}
+
+package() {
+ cd $pkgname-$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