updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / ruby-kramdown-last / PKGBUILD
blobf97a545f143b2767d6616e12264c115f123e685a
1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
2 pkgname=ruby-kramdown-last
3 _gemname=kramdown
4 pkgver=0.13.3
5 pkgrel=1
6 pkgdesc="Library for parsing and converting a superset of Markdown."
7 arch=(any)
8 url="http://kramdown.rubyforge.org/"
9 license=('GPL')
10 depends=('ruby')
11 conflicts=('ruby-kramdown')
12 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
13 noextract=(${_gemname}-${pkgver}.gem)
14 md5sums=('7f8b82168d5e0782c0e546f03291a263')
16 build() {
17   cd "${srcdir}"
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19   
20   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem