updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / ruby-redcloth / PKGBUILD
blobd6a5d924c046faa98a4203dc08527ee8097abb8b
1 # Maintainer: lolilolicon <lolilolicon[at]gmail.com>
2 # Contributor: oliparcol <oliparcol[at]gmail.com>
4 pkgname=ruby-redcloth
5 _gemname=RedCloth
6 pkgver=4.2.9
7 pkgrel=1
8 pkgdesc="Module for using the Textile markup language in Ruby."
9 arch=(i686 x86_64)
10 url="http://redcloth.org/"
11 license=('MIT')
12 depends=('ruby')
13 source=(http://rubygems.org/downloads/$_gemname-$pkgver.gem)
14 noextract=("$_gemname-$pkgver.gem")
15 md5sums=('021dc588a1f5ec5804c0083c09740b39')
17 build() {
18   cd "$srcdir"
20   local _gemdir=$(ruby -rubygems -e'puts Gem.default_dir')
21   gem install --ignore-dependencies --verbose \
22     -i "$pkgdir$_gemdir" -n "$pkgdir"/usr/bin "$_gemname-$pkgver.gem"