[arch-commits] Commit in ruby-power_assert/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed May 16 16:37:27 UTC 2018


    Date: Wednesday, May 16, 2018 @ 16:37:26
  Author: felixonmars
Revision: 322954

archrelease: copy trunk to community-any

Added:
  ruby-power_assert/repos/community-any/
  ruby-power_assert/repos/community-any/PKGBUILD
    (from rev 322953, ruby-power_assert/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: ruby-power_assert/repos/community-any/PKGBUILD (from rev 322953, ruby-power_assert/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-05-16 16:37:26 UTC (rev 322954)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
+# Contributor: Jochen Schalanda <jochen+aur at schalanda.name>
+
+pkgname=ruby-power_assert
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='Power Assert for Ruby'
+arch=('any')
+url='https://github.com/k-tsj/power_assert'
+license=('custom:BSDL')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/power_assert-$pkgver.gem")
+noextract=("power_assert-$pkgver.gem")
+sha512sums=('2154518b75b7ceaae1b310c44e15fe9ba162e0c87d1fe4fb5f21392d0d9279f26004b3d0b187a73950188533b2767ffe8ad77b873ab0000780ef0732c4bca081')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" power_assert-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/power_assert-$pkgver.gem"
+}



More information about the arch-commits mailing list