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

Felix Yan felixonmars at archlinux.org
Thu Dec 27 04:46:48 UTC 2018


    Date: Thursday, December 27, 2018 @ 04:46:47
  Author: felixonmars
Revision: 418252

archrelease: copy trunk to community-staging-any

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

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

Copied: ruby-multipart-post/repos/community-staging-any/PKGBUILD (from rev 418251, ruby-multipart-post/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-12-27 04:46:47 UTC (rev 418252)
@@ -0,0 +1,22 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Rhys Davies <rhys at johnguant.com>
+
+pkgname=ruby-multipart-post
+pkgver=2.0.0
+pkgrel=3
+pkgdesc='A multipart form post accessory for Net::HTTP.'
+arch=('any')
+url='https://github.com/nicksieger/multipart-post'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+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