updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-configuration / PKGBUILD
blobc162ef281e08563df0cda6193473b98718285aa8
1 # Contributor: Emiliano Vavassori <syntaxerrormmm(at)gmail.com>
2 # Maintainer: Emiliano Vavassori <syntaxerrormmm(at)gmail.com>
3 pkgname=ruby-configuration
4 _gemname=configuration
5 pkgver=1.3.1
6 pkgrel=1
7 pkgdesc="Pure Ruby scoped configuration files"
8 arch=(any)
9 url="http://github.com/ahoward/configuration"
10 license=('RUBY')
11 depends=(ruby) # Full dependency information is available in the yaml specification
12 makedepends=(rubygems)
13 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
15 md5sums=('101b29352efb1e5002b6228851cc65d5')
17 package(){
18   cd $srcdir
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21   gem install --ignore-dependencies -i "$pkgdir$_gemdir" ${_gemname}-$pkgver.gem