# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> setvar _gemname = 'rails-html-sanitizer' setvar pkgname = "ruby-$_gemname" setvar pkgver = '1.0.3' setvar pkgrel = '0' setvar pkgdesc = ""HTML sanitization for Rails applications"" setvar url = "http://rubyonrails.org/" setvar arch = 'noarch' setvar license = 'MIT' setvar depends = ""ruby ruby-loofah"" setvar depends_dev = '' setvar makedepends = ""$depends_dev ruby"" setvar install = """" setvar subpackages = """" setvar source = ""http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"" proc build { return 0 } proc package { local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" local _geminstdir=$_gemdir/gems/$_gemname-$pkgver mkdir -p $pkgdir || return 1 gem install --local --install-dir "$pkgdir"/$_gemdir \ --ignore-dependencies --verbose --no-rdoc --no-ri \ "$srcdir"/$_gemname-$pkgver.gem || return 1 rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths } setvar md5sums = ""d13c644238baf23fb79d39c820c51a11 rails-html-sanitizer-1.0.3.gem"" setvar sha256sums = ""a7da8eb4ce2e673ba909d36a94a9e06f196e88a92e76d01dfee3803d0d6a0e8d rails-html-sanitizer-1.0.3.gem"" setvar sha512sums = ""84d91014384773389492d7cde0afcdc7e3324320970788d88861f89395d847d2599d1e645177f5301109194805ffb684f591e287f3e4280117738416655d934a rails-html-sanitizer-1.0.3.gem""