updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-bluecloth / PKGBUILD
blob6ff2f63bebedabf6b429a36e65b0367b108c7214
1 # Maintainer: eagletmt <eagletmt@gmail.com>
2 # Contributor: Andrew Antle <andrew dot antle at gmail dot com>
3 # Contributor: Thomas Dziedzic < gostrc at gmail >
4 pkgname=ruby-bluecloth
5 _realname=bluecloth
6 pkgver=2.2.0
7 pkgrel=1
8 pkgdesc='A Ruby implementation of Markdown.'
9 arch=("i686" "x86_64")
10 url='http://deveiate.org/projects/BlueCloth'
11 license=("BSD")
12 depends=("ruby")
13 makedepends=('rubygems')
14 source=(http://rubygems.org/downloads/$_realname-$pkgver.gem)
15 noextract=($_realname-$pkgver.gem)
17 build() {
18   cd "$srcdir"
19   local _gemdir="$(ruby -rubygems -e 'puts Gem.default_dir')"
20   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_realname-$pkgver.gem
21   mv "$pkgdir$_gemdir/bin" "$pkgdir/usr/"
24 # vim:set ts=2 sw=2 et:
25 md5sums=('de2769574a00b32d6b97262e51204a7c')