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

Felix Yan felixonmars at archlinux.org
Thu Mar 23 02:35:28 UTC 2017


    Date: Thursday, March 23, 2017 @ 02:35:27
  Author: felixonmars
Revision: 218438

archrelease: copy trunk to community-any

Added:
  ruby-multi-json/repos/community-any/
  ruby-multi-json/repos/community-any/PKGBUILD
    (from rev 218437, ruby-multi-json/trunk/PKGBUILD)

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

Copied: ruby-multi-json/repos/community-any/PKGBUILD (from rev 218437, ruby-multi-json/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-03-23 02:35:27 UTC (rev 218438)
@@ -0,0 +1,22 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ruby-multi-json
+pkgver=1.12.1
+pkgrel=1
+pkgdesc='A common interface to multiple JSON libraries.'
+arch=('any')
+url='https://github.com/intridea/multi_json'
+license=('MIT')
+depends=('ruby')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/multi_json-$pkgver.gem")
+noextract=("multi_json-$pkgver.gem")
+sha1sums=('b418d7b93e99a6f7d1acb70453470aace4599d1a')
+
+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