[arch-commits] Commit in ruby27-semantic_puppet/repos (2 files)
Tim Meusel
bastelfreak at archlinux.org
Sun May 16 11:56:51 UTC 2021
Date: Sunday, May 16, 2021 @ 11:56:51
Author: bastelfreak
Revision: 935755
archrelease: copy trunk to community-testing-any
Added:
ruby27-semantic_puppet/repos/community-testing-any/
ruby27-semantic_puppet/repos/community-testing-any/PKGBUILD
(from rev 935754, ruby27-semantic_puppet/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: ruby27-semantic_puppet/repos/community-testing-any/PKGBUILD (from rev 935754, ruby27-semantic_puppet/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-05-16 11:56:51 UTC (rev 935755)
@@ -0,0 +1,32 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+_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=('ruby27-rdoc')
+license=('Apache')
+options=('!emptydirs')
+source=("https://rubygems.org/gems/${_gemname}-${pkgver}.gem")
+noextract=("${_gemname}-${pkgver}.gem")
+sha512sums=('bdca6793a064d37d15010551c579f61837b1095025d84469ed8893d4bbed4372cde005ed452460a8d771c8e4bf842283628f2c613295bab0af3834cdc163f7ba')
+package() {
+ local _gemdir="$(ruby-2.7 -e'puts Gem.default_dir')"
+
+ gem-2.7 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