[arch-commits] Commit in shards/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Nov 25 03:34:22 UTC 2016
Date: Friday, November 25, 2016 @ 03:34:22
Author: anatolik
Revision: 196804
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 196803, shards/trunk/PKGBUILD)
shards/repos/community-testing-x86_64/
shards/repos/community-testing-x86_64/PKGBUILD
(from rev 196803, 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 196803, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-11-25 03:34:22 UTC (rev 196804)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.7.1
+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=('31de819c66518479682ec781a39ef42c157a1a8e6e865544194534e2567cb110')
+
+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 196803, shards/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-11-25 03:34:22 UTC (rev 196804)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Jonne Haß <me at jhass.eu>
+
+pkgname=shards
+pkgver=0.7.1
+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=('31de819c66518479682ec781a39ef42c157a1a8e6e865544194534e2567cb110')
+
+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