updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / ruby-awesome_print / PKGBUILD
blob756875552a50e79fe783c35fde972552b325a4ae
1 # Generated by gem2arch
2 # Contributor: Rickey Visinski <rickeyvisinski@gmail.com>
4 _gemname=awesome_print
5 pkgname=ruby-$_gemname
6 pkgver=0.3.1
7 pkgrel=1
8 pkgdesc="Pretty print Ruby objects with proper indentation and colors."
9 arch=('i686' 'x86_64')
10 url="http://github.com/michaeldv/awesome_print"
11 license=('MIT')
12 depends=('ruby')
13 makedepends=('rubygems')
14 source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem)
15 noextract=($_gemname-$pkgver.gem)
16 md5sums=('ca49acf9ace414467590b5e180e41ad0')
18 build() {
19   cd $srcdir
20   local _gemdir="$(ruby -e'puts Gem.default_dir')"
21   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_gemname-$pkgver.gem