[arch-commits] Commit in (6 files)
Anatol Pomozov
anatolik at archlinux.org
Sun Sep 27 15:38:10 UTC 2015
Date: Sunday, September 27, 2015 @ 17:38:09
Author: anatolik
Revision: 141698
Move shards package manager from AUR to [community]
Added:
shards/
shards/repos/
shards/repos/community-i686/
shards/repos/community-x86_64/
shards/trunk/
shards/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: shards/trunk/PKGBUILD
===================================================================
--- shards/trunk/PKGBUILD (rev 0)
+++ shards/trunk/PKGBUILD 2015-09-27 15:38:09 UTC (rev 141698)
@@ -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