# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen _gemname=rails-deprecated_sanitizer pkgname=ruby-$_gemname pkgver=1.0.3 pkgrel=0 pkgdesc="Deprecated sanitizer API extracted from Action View" url=http://rubyonrails.org/ arch=noarch license=MIT depends="ruby ruby-activesupport" depends_dev= makedepends="$depends_dev ruby" install="" subpackages="" source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" _builddir="$srcdir"/$_realname-$pkgver build() { return 0 } 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 } md5sums="c11a2be49ab18f4ca9734cbea5738506 rails-deprecated_sanitizer-1.0.3.gem" sha256sums="722d589fc83dea0ea49e816440bacc554383dc9a05c8aee5429cf7f621abbe63 rails-deprecated_sanitizer-1.0.3.gem" sha512sums="017ea5aac0ce1fe41e51e4e957c3ce0c4c44b92e50c81740529a86d915483b8755253138d918c556383ecf0469ac83a7d30aaf8947e4768be33c3695ef4afaf1 rails-deprecated_sanitizer-1.0.3.gem"