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

Felix Yan felixonmars at archlinux.org
Wed Mar 1 06:34:47 UTC 2017


    Date: Wednesday, March 1, 2017 @ 06:34:46
  Author: felixonmars
Revision: 214280

archrelease: copy trunk to community-any

Added:
  ruby-multipart-post/repos/community-any/
  ruby-multipart-post/repos/community-any/PKGBUILD
    (from rev 214279, ruby-multipart-post/trunk/PKGBUILD)

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

Copied: ruby-multipart-post/repos/community-any/PKGBUILD (from rev 214279, ruby-multipart-post/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-03-01 06:34:46 UTC (rev 214280)
@@ -0,0 +1,22 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Rhys Davies <rhys at johnguant.com>
+
+pkgname=ruby-multipart-post
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='A multipart form post accessory for Net::HTTP.'
+arch=('any')
+url='https://github.com/nicksieger/multipart-post'
+license=('MIT')
+depends=('ruby')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/multipart-post-$pkgver.gem")
+noextract=("multipart-post-$pkgver.gem")
+sha1sums=('15f1fee5557716868726ec23f389938e7957bf63')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" multipart-post-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/multipart-post-$pkgver.gem"
+}


More information about the arch-commits mailing list