updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ruby-gemcutter / PKGBUILD
blob2d8a5c884620ddf2c987dabcdc27d6b253d6fc3f
1 # Contributor: gem2arch 0.1
2 pkgname=ruby-gemcutter
3 pkgver=0.6.1
4 _realname="gemcutter"
5 pkgrel=1
6 pkgdesc="Commands to interact with gemcutter.org"
7 arch=(any)
8 url="http://gemcutter.org"
9 license=("GPL")
10 depends=('ruby')
11 md5sums=('3e57aabfd7506040b8562440aca5a805')
13 source=(http://gems.rubyforge.org/gems/gemcutter-$pkgver.gem)
14 noextract=(gemcutter-$pkgver.gem)
16 build() {
17   cd $srcdir
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19   gem install --ignore-dependencies -i "$pkgdir$_gemdir" ${_realname}-$pkgver.gem