[arch-commits] Commit in ruby-addressable/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Aug 19 20:46:51 UTC 2019


    Date: Monday, August 19, 2019 @ 20:46:50
  Author: anthraxx
Revision: 500225

archrelease: copy trunk to community-any

Added:
  ruby-addressable/repos/community-any/PKGBUILD
    (from rev 500224, ruby-addressable/trunk/PKGBUILD)
Deleted:
  ruby-addressable/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-19 20:46:46 UTC (rev 500224)
+++ PKGBUILD	2019-08-19 20:46:50 UTC (rev 500225)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Mario Finelli <mario at finel dot li>
-# Contributor: Artem Vorotnikov <artem at vorotnikov dot me>
-
-_gemname=addressable
-pkgname=ruby-addressable
-pkgver=2.6.0
-pkgrel=1
-pkgdesc='URI Implementation'
-arch=('any')
-url='https://github.com/sporkmonger/addressable'
-license=('Apache')
-depends=('ruby' 'ruby-public_suffix')
-makedepends=('ruby-rdoc')
-options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sporkmonger/addressable/archive/addressable-${pkgver}.tar.gz)
-sha256sums=('fd41dd66a08b3647346a5d5cf996bedc571a685a722cc489348fba160a7d7595')
-sha512sums=('9e889c173d32bfd1311a2a8cab6e2caa28666bb10387e2c5ccde6ce42b94d7366ce723a9ce3af6768b35fa4d5ef3a23ecf68d24ab31e12928e23dac178fab87f')
-
-prepare() {
-  cd ${_gemname}-${_gemname}-${pkgver}
-  sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
-}
-
-build() {
-  cd ${_gemname}-${_gemname}-${pkgver}
-  gem build ${_gemname}.gemspec
-}
-
-package() {
-  cd ${_gemname}-${_gemname}-${pkgver}
-  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 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
-}
-
-# vim: ts=2 sw=2 et:

Copied: ruby-addressable/repos/community-any/PKGBUILD (from rev 500224, ruby-addressable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-19 20:46:50 UTC (rev 500225)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Mario Finelli <mario at finel dot li>
+# Contributor: Artem Vorotnikov <artem at vorotnikov dot me>
+
+_gemname=addressable
+pkgname=ruby-addressable
+pkgver=2.6.0
+pkgrel=2
+pkgdesc='URI Implementation'
+arch=('any')
+url='https://github.com/sporkmonger/addressable'
+license=('Apache')
+depends=('ruby' 'ruby-public_suffix')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sporkmonger/addressable/archive/addressable-${pkgver}.tar.gz)
+sha256sums=('fd41dd66a08b3647346a5d5cf996bedc571a685a722cc489348fba160a7d7595')
+sha512sums=('9e889c173d32bfd1311a2a8cab6e2caa28666bb10387e2c5ccde6ce42b94d7366ce723a9ce3af6768b35fa4d5ef3a23ecf68d24ab31e12928e23dac178fab87f')
+
+prepare() {
+  cd ${_gemname}-${_gemname}-${pkgver}
+  sed -E 's|~>|>=|g' -i ${_gemname}.gemspec
+  sed -E 's|"< [0-9.]+", ||g' -i ${_gemname}.gemspec
+}
+
+build() {
+  cd ${_gemname}-${_gemname}-${pkgver}
+  gem build ${_gemname}.gemspec
+}
+
+package() {
+  cd ${_gemname}-${_gemname}-${pkgver}
+  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 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list