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

Anatol Pomozov anatolik at archlinux.org
Tue Feb 2 17:40:06 UTC 2021


    Date: Tuesday, February 2, 2021 @ 17:40:06
  Author: anatolik
Revision: 841322

archrelease: copy trunk to community-testing-any

Added:
  ruby-semantic_puppet/repos/community-testing-any/
  ruby-semantic_puppet/repos/community-testing-any/PKGBUILD
    (from rev 841321, ruby-semantic_puppet/trunk/PKGBUILD)

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

Copied: ruby-semantic_puppet/repos/community-testing-any/PKGBUILD (from rev 841321, ruby-semantic_puppet/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-02-02 17:40:06 UTC (rev 841322)
@@ -0,0 +1,31 @@
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: Tim Meusel <tim at bastelfreak.de>
+_gemname=semantic_puppet
+pkgname="ruby-$_gemname"
+pkgver=1.0.3
+pkgrel=1
+pkgdesc='Tools used by Puppet to parse, validate, and compare Semantic Versions and Version Ranges and to query and resolve module dependencies.'
+arch=('any')
+url='https://github.com/puppetlabs/semantic_puppet#semanticpuppet'
+depends=('ruby')
+makedepends=('ruby-rdoc' 'rubygems')
+license=('Apache')
+options=('!emptydirs')
+source=("https://rubygems.org/gems/${_gemname}-${pkgver}.gem")
+noextract=("${_gemname}-${pkgver}.gem")
+sha512sums=('bdca6793a064d37d15010551c579f61837b1095025d84469ed8893d4bbed4372cde005ed452460a8d771c8e4bf842283628f2c613295bab0af3834cdc163f7ba')
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+
+  gem install \
+    --ignore-dependencies \
+    --no-user-install \
+    --install-dir "${pkgdir}${_gemdir}" \
+    --bindir "${pkgdir}/usr/bin" \
+    --verbose \
+    ${_gemname}-${pkgver}.gem
+
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+
+  install -D -m644 "${pkgdir}${_gemdir}/gems/semantic_puppet-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list