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

Felix Yan felixonmars at archlinux.org
Tue Dec 24 21:38:14 UTC 2019


    Date: Tuesday, December 24, 2019 @ 21:38:12
  Author: felixonmars
Revision: 540544

archrelease: copy trunk to community-testing-any

Added:
  ruby-faraday/repos/community-testing-any/
  ruby-faraday/repos/community-testing-any/PKGBUILD
    (from rev 540543, ruby-faraday/trunk/PKGBUILD)

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

Copied: ruby-faraday/repos/community-testing-any/PKGBUILD (from rev 540543, ruby-faraday/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-12-24 21:38:12 UTC (rev 540544)
@@ -0,0 +1,25 @@
+# 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.17.0
+pkgrel=1
+pkgdesc='HTTP/REST API client library.'
+arch=('any')
+url='https://github.com/lostisland/faraday'
+license=('MIT')
+depends=('ruby' 'ruby-multipart-post')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/faraday-$pkgver.gem")
+noextract=("faraday-$pkgver.gem")
+sha512sums=('04ebe37e21cdf2c284ae7af22de4de47fa7b4a99c13b3dfaab55ff8a82df3bab262afafdb7cb267fa71118e62d7a6dfa62ec6a4a53fc72123867745d23f376fc')
+
+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"
+}



More information about the arch-commits mailing list