[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Wed Mar 1 06:39:16 UTC 2017


    Date: Wednesday, March 1, 2017 @ 06:39:15
  Author: felixonmars
Revision: 214283

addpkg: ruby-faraday 0.11.0-1

Added:
  ruby-faraday/
  ruby-faraday/repos/
  ruby-faraday/trunk/
  ruby-faraday/trunk/PKGBUILD

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

Added: ruby-faraday/trunk/PKGBUILD
===================================================================
--- ruby-faraday/trunk/PKGBUILD	                        (rev 0)
+++ ruby-faraday/trunk/PKGBUILD	2017-03-01 06:39:15 UTC (rev 214283)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
+# Contributor: Jochen Schalanda <jochen+aur at schalanda.name>
+
+pkgname=ruby-faraday
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='HTTP/REST API client library.'
+arch=('any')
+url='https://github.com/lostisland/faraday'
+license=('MIT')
+depends=('ruby' 'ruby-multipart-post')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/faraday-$pkgver.gem")
+noextract=("faraday-$pkgver.gem")
+sha1sums=('76cc97d7b6a9a3f77d797618c3cd2cfa83d64429')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" faraday-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/faraday-$pkgver.gem"
+  install -D -m644 "$pkgdir/$_gemdir/gems/faraday-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}


Property changes on: ruby-faraday/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


More information about the arch-commits mailing list