[arch-commits] Commit in ruby-json/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jul 1 07:21:53 UTC 2020


    Date: Wednesday, July 1, 2020 @ 07:21:53
  Author: dvzrv
Revision: 657261

archrelease: copy trunk to community-x86_64

Added:
  ruby-json/repos/community-x86_64/PKGBUILD
    (from rev 657260, ruby-json/trunk/PKGBUILD)
Deleted:
  ruby-json/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 07:21:48 UTC (rev 657260)
+++ PKGBUILD	2020-07-01 07:21:53 UTC (rev 657261)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=json
-pkgname=ruby-json
-pkgver=2.3.0
-pkgrel=2
-pkgdesc="JSON implementation for Ruby"
-arch=('x86_64')
-url="https://github.com/flori/json"
-license=('BSD')
-depends=('ruby')
-makedepends=('ragel' 'ruby-rake' 'ruby-rdoc')
-checkdepends=('git' 'ruby-bundler' 'ruby-test-unit')
-options=(!emptydirs)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flori/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('0cda44a77212748d9513e61314dfbc7c0cf82beebcc56eb8b043e4ada698bc475502100389b80fa5c9090341fd1c6d2841fc5c9332e520f1c8dd1084ca505379')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # we don't do version pinning
-  sed -r 's|~>|>=|g' -i *.gemspec Gemfile Rakefile
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  gem build "${_name}.gemspec"
-}
-
-check(){
-  cd "${pkgname}-${pkgver}"
-  rake test
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies \
-              --no-user-install \
-              -i "${pkgdir}/${_gemdir}" \
-              -n "${pkgdir}/usr/bin" \
-              ${_name}-${pkgver}.gem
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  # removing all unneeded stuff
-  cd "${pkgdir}/${_gemdir}"
-  rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so,*.gemspec} \
-    extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out}
-}

Copied: ruby-json/repos/community-x86_64/PKGBUILD (from rev 657260, ruby-json/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-01 07:21:53 UTC (rev 657261)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=json
+pkgname=ruby-json
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="JSON implementation for Ruby"
+arch=('x86_64')
+url="https://github.com/flori/json"
+license=('BSD')
+depends=('ruby')
+makedepends=('ragel' 'ruby-rake' 'ruby-rdoc')
+checkdepends=('git' 'ruby-bundler' 'ruby-test-unit')
+options=(!emptydirs)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flori/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('4996afd3e90ec6632546ad1e5e04e971c1ef27c3a17066820ed17a45eda448f2a3308039a3d5d5215801a2719a7733df927b63cee530b7c48b7a31045bd02be7')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # we don't do version pinning
+  sed -r 's|~>|>=|g' -i *.gemspec Gemfile Rakefile
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  gem build "${_name}.gemspec"
+}
+
+check(){
+  cd "${pkgname}-${pkgver}"
+  rake test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies \
+              --no-user-install \
+              -i "${pkgdir}/${_gemdir}" \
+              -n "${pkgdir}/usr/bin" \
+              ${_name}-${pkgver}.gem
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  # removing all unneeded stuff
+  cd "${pkgdir}/${_gemdir}"
+  rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so,*.gemspec} \
+    extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out}
+}


More information about the arch-commits mailing list