blob: 711ae950badfc01239ff8d8130864425b68d3b3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ruby-css_parser
_gemname=css_parser
pkgver=1.3.7
pkgrel=0
pkgdesc="A set of classes for parsing CSS in Ruby"
url="https://github.com/premailer/css_parser"
arch="noarch"
license="MIT"
depends="ruby-addressable ruby"
depends_dev=""
makedepends="$depends_dev ruby-dev"
install=""
subpackages=""
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
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="4825a1fbc3be3c0e90e28fc2fb8f113e css_parser-1.3.7.gem"
sha256sums="359563516a965b4fd770d908ba11fa218e220576c646687b9954bf05fee4cfe3 css_parser-1.3.7.gem"
sha512sums="5c03067a7e5b9e4519ca1c6ab12e8e207b70c6c192f575e9568cd1b4e598ede4af6c93f1ce0d92dd88f8ab0a660ce459dbdcd92f0b508420876e486ef15550c4 css_parser-1.3.7.gem"
|