PKGBUILDs/community/ruby-gettext/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
778 B
Bash

# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=ruby-gettext
pkgver=2.0.4
pkgrel=1
pkgdesc="A Native Language Support Library and Tools which is modeled after GNU gettext package"
arch=('i686' 'x86_64')
url="http://www.yotabanana.com/hiki/ruby-gettext.html?ruby-gettext"
license=('RUBY')
depends=('gettext' 'ruby')
source=(http://files.rubyforge.vm.bytemark.co.uk/gettext/gettext-$pkgver.gem)
md5sums=('7e4dd44845609437af97090375952e0b')
build() {
cd "$srcdir"
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --ignore-dependencies -i "$pkgdir$_gemdir" gettext-$pkgver.gem
}