updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / ruby-chronic / PKGBUILD
blob1c91fab1f6d84f92be296e4e348dd10b834ed9af
1 # Maintainer: David Campbell <davekong@archlinux.us>
2 pkgname=ruby-chronic
3 pkgver=0.3.0
4 pkgrel=1
5 pkgdesc="A natural language date parser"
6 arch=(any)
7 url="http://chronic.rubyforge.org/"
8 license=("GPL")
9 depends=('ruby')
10 source=(http://gems.rubyforge.org/gems/chronic-$pkgver.gem)
11 noextract=(chronic-$pkgver.gem)
12 md5sums=('89b5cbb052895e1fe2d5d75750ef6323')
14 build() {
15   cd $srcdir
16   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
17   gem install --ignore-dependencies -i "$pkgdir$_gemdir" chronic-$pkgver.gem