[arch-commits] Commit in ruby-multipart-post/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:21:34 UTC 2019
Date: Thursday, December 26, 2019 @ 00:21:34
Author: felixonmars
Revision: 541562
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 541561, ruby-multipart-post/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: ruby-multipart-post/repos/community-staging-any/PKGBUILD (from rev 541561, ruby-multipart-post/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-26 00:21:34 UTC (rev 541562)
@@ -0,0 +1,22 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Rhys Davies <rhys at johnguant.com>
+
+pkgname=ruby-multipart-post
+pkgver=2.1.1
+pkgrel=2
+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=('f2c6ddc8ea50d81372a64d8698b96700de48c454')
+
+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