[arch-commits] Commit in shards/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Sat Jun 10 06:04:21 UTC 2017
Date: Saturday, June 10, 2017 @ 06:04:20
Author: anatolik
Revision: 235787
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
shards/repos/community-staging-i686/
shards/repos/community-staging-i686/PKGBUILD
(from rev 235786, shards/trunk/PKGBUILD)
shards/repos/community-staging-x86_64/
shards/repos/community-staging-x86_64/PKGBUILD
(from rev 235786, shards/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: shards/repos/community-staging-i686/PKGBUILD (from rev 235786, shards/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-10 06:04:20 UTC (rev 235787)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.7.1
+pkgrel=2
+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=('31de819c66518479682ec781a39ef42c157a1a8e6e865544194534e2567cb110')
+
+build() {
+ cd shards-$pkgver
+ crystal build --release -o bin/shards src/shards.cr
+}
+
+check() {
+ cd shards-$pkgver
+ ./bin/shards install
+ # currently tests fail because they try to write to read-only directory
+ #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-staging-x86_64/PKGBUILD (from rev 235786, shards/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-06-10 06:04:20 UTC (rev 235787)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.7.1
+pkgrel=2
+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=('31de819c66518479682ec781a39ef42c157a1a8e6e865544194534e2567cb110')
+
+build() {
+ cd shards-$pkgver
+ crystal build --release -o bin/shards src/shards.cr
+}
+
+check() {
+ cd shards-$pkgver
+ ./bin/shards install
+ # currently tests fail because they try to write to read-only directory
+ #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