[arch-commits] Commit in ruby-nats-pure/repos (3 files)

Felix Yan felixonmars at archlinux.org
Mon Jan 7 01:08:22 UTC 2019


    Date: Monday, January 7, 2019 @ 01:08:21
  Author: felixonmars
Revision: 420842

archrelease: copy trunk to community-staging-any

Added:
  ruby-nats-pure/repos/community-staging-any/
  ruby-nats-pure/repos/community-staging-any/LICENSE
    (from rev 420840, ruby-nats-pure/trunk/LICENSE)
  ruby-nats-pure/repos/community-staging-any/PKGBUILD
    (from rev 420840, ruby-nats-pure/trunk/PKGBUILD)

----------+
 LICENSE  |   21 +++++++++++++++++++++
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

Copied: ruby-nats-pure/repos/community-staging-any/LICENSE (from rev 420840, ruby-nats-pure/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2019-01-07 01:08:21 UTC (rev 420842)
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2016-2017 Apcera Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

Copied: ruby-nats-pure/repos/community-staging-any/PKGBUILD (from rev 420840, ruby-nats-pure/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-01-07 01:08:21 UTC (rev 420842)
@@ -0,0 +1,36 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Tim Meusel <tim at bastelfreak.de>
+
+_gemname='nats-pure'
+pkgname="ruby-${_gemname}"
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="Ruby client for the NATS messaging system"
+url="https://nats.io"
+arch=('any')
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/gems/${_gemname}-${pkgver}.gem"
+        'LICENSE')
+noextract=("${_gemname}-${pkgver}.gem")
+sha512sums=('eb39f1477c90b35b4852c1946fb690e1d3c6a4fa8e4b0816539f40cedd37f726c38edf3acbe127e949eeaabdadc26a78f4024923aaa66c0dbfbc781f1272d5a5'
+            'ec05133944c3dc861ae437ce8681f54a871b614ff020fd4db1b3b3eb75f9e612222b682d1cceb5a3335e479e3541072abd4abc8f272d2e4d8803f97fe9f58b08')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+
+  gem install \
+    --ignore-dependencies \
+    --no-user-install \
+    -i "${pkgdir}${_gemdir}" \
+    -n "${pkgdir}/usr/bin" \
+    ${_gemname}-${pkgver}.gem
+
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+
+  install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list