Date: Thursday, December 27, 2018 @ 04:48:36 Author: felixonmars Revision: 418270
archrelease: copy trunk to community-staging-any Added: ruby-faraday/repos/community-staging-any/ ruby-faraday/repos/community-staging-any/PKGBUILD (from rev 418267, ruby-faraday/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: ruby-faraday/repos/community-staging-any/PKGBUILD (from rev 418267, ruby-faraday/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-12-27 04:48:36 UTC (rev 418270) @@ -0,0 +1,25 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Anatol Pomozov <anatol.pomo...@gmail.com> +# Contributor: Alfredo Palhares <masterk...@masterkorp.net> +# Contributor: Jochen Schalanda <jochen+...@schalanda.name> + +pkgname=ruby-faraday +pkgver=0.15.4 +pkgrel=2 +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=('e63bf8a84dfd6a945c7172fe48197f9b022f4d9d8aa63712e249475202eb8e6e070683fe8f0816b1f72d945f3280fed4104b4c6956e2853dc4d13e718be1f23b') + +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" +}