updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / ruby-tilt / PKGBUILD
blob56148beb265c69b5242bda1b369fc45ac339740c
1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
2 pkgname=ruby-tilt
3 _gemname=${pkgname#ruby-}
4 pkgver=1.3.3
5 pkgrel=1
6 pkgdesc="Generic interface to multiple Ruby template engines"
7 arch=('any')
8 url="http://github.com/rtomayko/tilt"
9 license=('MIT')
10 depends=('ruby' 'rubygems')
11 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
12 noextract=(${_gemname}-${pkgver}.gem)
13 md5sums=('499458da7755dddaee177922f1641659')
15 build() {
16   cd "${srcdir}"
17   export HOME=/tmp
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem