[arch-commits] Commit in ruby-hocon/repos/community-any (PKGBUILD PKGBUILD)
Tim Meusel
bastelfreak at archlinux.org
Sun May 16 12:06:34 UTC 2021
Date: Sunday, May 16, 2021 @ 12:06:34
Author: bastelfreak
Revision: 935763
archrelease: copy trunk to community-any
Added:
ruby-hocon/repos/community-any/PKGBUILD
(from rev 935762, ruby-hocon/trunk/PKGBUILD)
Deleted:
ruby-hocon/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 12:06:04 UTC (rev 935762)
+++ PKGBUILD 2021-05-16 12:06:34 UTC (rev 935763)
@@ -1,50 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Tim Meusel <tim at bastelfreak.de>
-
-_gemname='hocon'
-pkgname="ruby-${_gemname}"
-pkgver=1.3.1
-pkgrel=2
-pkgdesc='A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Porter Stemming'
-arch=('any')
-url='https://github.com/puppetlabs/ruby-hocon'
-license=('Apache')
-depends=('ruby')
-makedepends=('ruby-rdoc')
-checkdepends=('ruby-rspec')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-options=("!emptydirs")
-sha512sums=('c73cfd8d6c77751d1d2a35d85cad2f2eef700a01e8b8de9449c0c9dfefe8d4a80c4a79dd3db8ee4a6d2c3649f26d6780cbe05fe9b067de05ee3711b00faf4255')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # update the gemspec to allow newer versions of rake
- sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
-
- # fix wrong license name in gemspec
- sed --in-place 's/Apache License, v2/Apache-2.0/' "${_gemname}.gemspec"
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- gem build "${_gemname}.gemspec"
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- rspec spec
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
-
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -Dm 644 CHANGELOG.md HISTORY.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-
- rm -rf "${pkgdir}/${_gemdir}/cache"
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-hocon/repos/community-any/PKGBUILD (from rev 935762, ruby-hocon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 12:06:34 UTC (rev 935763)
@@ -0,0 +1,50 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Christian Rebischke <chris.rebischke at archlinux.org>
+
+_gemname='hocon'
+pkgname="ruby-${_gemname}"
+pkgver=1.3.1
+pkgrel=3
+pkgdesc='A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Porter Stemming'
+arch=('any')
+url='https://github.com/puppetlabs/ruby-hocon'
+license=('Apache')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+checkdepends=('ruby-rspec')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+options=("!emptydirs")
+sha512sums=('c73cfd8d6c77751d1d2a35d85cad2f2eef700a01e8b8de9449c0c9dfefe8d4a80c4a79dd3db8ee4a6d2c3649f26d6780cbe05fe9b067de05ee3711b00faf4255')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # update the gemspec to allow newer versions of rake
+ sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+
+ # fix wrong license name in gemspec
+ sed --in-place 's/Apache License, v2/Apache-2.0/' "${_gemname}.gemspec"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ gem build "${_gemname}.gemspec"
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ rspec spec
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm 644 CHANGELOG.md HISTORY.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+ rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list