updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-net-http-persistent / PKGBUILD
blob270b24d7fb567b23baa778f44a98c654e567b091
1 # Maintainer: Emiliano Vavassori <syntaxerrormmm(at)gmail.com>
2 pkgname=ruby-net-http-persistent
3 _gemname=net-http-persistent
4 pkgver=2.3.3
5 pkgrel=1
6 pkgdesc="Manages persistent connections using Net::HTTP - Ruby bindings"
7 arch=(any)
8 url="http://docs.seattlerb.org/net-http-persistent/"
9 license=('MIT')
10 depends=('ruby')
11 makedepends=('ruby')
12 source=(https://rubygems.org/downloads/${_gemname}-$pkgver.gem)
13 noextract=(${_gemname}-$pkgver.gem)
14 md5sums=('9ae46486720bfb4c9379b9193a4f56bb')
16 package() {
17   cd "${srcdir}"
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" "${_gemname}-${pkgver}.gem"