updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-unf_ext / PKGBUILD
blob34d304d54c8cce1632f6ca1f0da4382c81a38678
1 # Contributor: Emiliano Vavassori <syntaxerrormmm@gmail.com>
2 # Maintainer: Emiliano Vavassori <syntaxerrormmm@gmail.com>
3 pkgname=ruby-unf_ext
4 _gemname=unf_ext
5 pkgver=0.0.4
6 pkgrel=1
7 pkgdesc="Unicode Normalization Form support library for CRuby."
8 arch=('any')
9 url="https://github.com/knu/ruby-unf_ext"
10 license=('MIT')
11 depends=('ruby')
12 makedepends=('ruby')
13 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
15 md5sums=('9592ac6aa2b5695c15a9c423744df5f0')
17 package() {
18   cd "${srcdir}"
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   
21   gem install --ignore-dependencies -f -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem