updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / ruby-colored / PKGBUILD
blob1fc7f947f75355a3f8981b96c609640e6d2ae3e9
1 # Contributor: 
2 # Maintainer: 
3 pkgname=ruby-colored
4 _gemname=colored
5 pkgver=1.2
6 pkgrel=1
7 pkgdesc=">> puts 'this is red'.red >> puts 'this is red with a blue background (read: ugly)'.red_on_blue..."
8 arch=(any)
9 url="http://github.com/defunkt/colored"
10 license=('GPL2')
11 depends=('ruby')
12 makedepends=('rubygems')
13 source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
16 build() {
17   cd "${srcdir}"
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem
23 md5sums=('1b1a0f16f7c6ab57d1a2d6de53b13c42')