updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / ruby-ntlm-http / PKGBUILD
blob45feadade99ae3a90b25be50bcf18f495777080a
1 # Contributor: Emiliano Vavassori <syntaxerrormmm@gmail.com>
2 # Maintainer: Emiliano Vavassori <syntaxerrormmm@gmail.com>
3 pkgname=ruby-ntlm-http
4 _gemname=ntlm-http
5 pkgver=0.1.1
6 pkgrel=1
7 pkgdesc="Provides NTLM authentication over HTTP for Ruby."
8 arch=('any')
9 url="http://www.mindflowsolutions.net/"
10 license=('MIT')
11 depends=('ruby')
12 makedepends=('ruby')
13 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
15 md5sums=('b505e299b6d4a34d54d57b0b24134be2')
17 package() {
18   cd "${srcdir}"
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   
21   gem install --ignore-dependencies -f -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem