[arch-commits] Commit in (4 files)
Christian Rebischke
shibumi at archlinux.org
Sat Oct 27 10:57:10 UTC 2018
Date: Saturday, October 27, 2018 @ 10:57:10
Author: shibumi
Revision: 399183
added ruby-semantic puppet for puppet
Added:
ruby-semantic-puppet/
ruby-semantic-puppet/repos/
ruby-semantic-puppet/trunk/
ruby-semantic-puppet/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: ruby-semantic-puppet/trunk/PKGBUILD
===================================================================
--- ruby-semantic-puppet/trunk/PKGBUILD (rev 0)
+++ ruby-semantic-puppet/trunk/PKGBUILD 2018-10-27 10:57:10 UTC (rev 399183)
@@ -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.2
+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=('b059d8c7b13ae96dfe012318e7c6ee483cc09986d5d065c8422167a27a14d8e99433229c90388a7ff9ee425a0f5b6a6a6d5bc55f8b81901490afd8039ea86480')
+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}/usr/lib/ruby/gems/2.5.0/gems/semantic_puppet-1.0.2/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list