[arch-commits] Commit in ruby-multi_json/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Dec 26 00:31:57 UTC 2019


    Date: Thursday, December 26, 2019 @ 00:31:56
  Author: felixonmars
Revision: 541625

archrelease: copy trunk to community-staging-any

Added:
  ruby-multi_json/repos/community-staging-any/
  ruby-multi_json/repos/community-staging-any/PKGBUILD
    (from rev 541623, ruby-multi_json/trunk/PKGBUILD)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Copied: ruby-multi_json/repos/community-staging-any/PKGBUILD (from rev 541623, ruby-multi_json/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-12-26 00:31:56 UTC (rev 541625)
@@ -0,0 +1,22 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ruby-multi_json
+pkgver=1.14.1
+pkgrel=2
+pkgdesc='A common interface to multiple JSON libraries.'
+arch=('any')
+url='https://github.com/intridea/multi_json'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/multi_json-$pkgver.gem")
+noextract=("multi_json-$pkgver.gem")
+sha512sums=('9d9ccc2876f6b3191241d14e556c463fbf273ad3831921fde43107810c03a6623929711fcf48acd7b4b5758286d1fb8b4b6be8ece6d1f137f6c3d64db58a7927')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir"/usr/bin multi_json-$pkgver.gem
+  rm "$pkgdir/$_gemdir"/cache/multi_json-$pkgver.gem
+  install -D -m644 "$pkgdir/$_gemdir"/gems/multi_json-$pkgver/LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}


More information about the arch-commits mailing list