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

Felix Yan felixonmars at archlinux.org
Thu Dec 27 04:47:42 UTC 2018


    Date: Thursday, December 27, 2018 @ 04:47:41
  Author: felixonmars
Revision: 418259

archrelease: copy trunk to community-staging-any

Added:
  ruby-rspec-support/repos/community-staging-any/
  ruby-rspec-support/repos/community-staging-any/PKGBUILD
    (from rev 418257, ruby-rspec-support/trunk/PKGBUILD)

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

Copied: ruby-rspec-support/repos/community-staging-any/PKGBUILD (from rev 418257, ruby-rspec-support/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-12-27 04:47:41 UTC (rev 418259)
@@ -0,0 +1,26 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Artem Vorotnikov <artem at vorotnikov.me>
+
+_gemname=rspec-support
+pkgname=ruby-${_gemname}
+pkgver=3.8.0
+pkgrel=2
+pkgdesc='Common code needed by the other RSpec gems. Not intended for direct use'
+url='https://github.com/rspec/rspec-support'
+arch=('any')
+license=('MIT')
+depends=('ruby' 'ruby-rdoc')
+options=('!emptydirs')
+source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
+noextract=(${_gemname}-${pkgver}.gem)
+sha512sums=('b508ade0607a7628eb281fd4347d70eb43759d4a92e694588d8e0dc276f64caf522f4bc6d18c8e3e5cfd8317f9f96473f7322452590f12877c1a05c5f736b4c5')
+
+package() {
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
+  install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README"
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list