# Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: setvar pkgname = 'ruby-css_parser' setvar _gemname = 'css_parser' setvar pkgver = '1.3.7' setvar pkgrel = '0' setvar pkgdesc = ""A set of classes for parsing CSS in Ruby"" setvar url = ""https://github.com/premailer/css_parser"" setvar arch = ""noarch"" setvar license = ""MIT"" setvar depends = ""ruby-addressable ruby"" setvar depends_dev = """" setvar makedepends = ""$depends_dev ruby-dev"" 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 = ""4825a1fbc3be3c0e90e28fc2fb8f113e css_parser-1.3.7.gem"" setvar sha256sums = ""359563516a965b4fd770d908ba11fa218e220576c646687b9954bf05fee4cfe3 css_parser-1.3.7.gem"" setvar sha512sums = ""5c03067a7e5b9e4519ca1c6ab12e8e207b70c6c192f575e9568cd1b4e598ede4af6c93f1ce0d92dd88f8ab0a660ce459dbdcd92f0b508420876e486ef15550c4 css_parser-1.3.7.gem""