diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:06:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | f58e361776f7398d806321ea9d63f59f5fc38b5d (patch) | |
tree | eea648afb288a35c5b1e2bffb3d3b4442578b08b /unmaintained/ruby-css_parser | |
parent | b951abfe754edd478b0a17f12cad5fb56e42eee1 (diff) | |
download | aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2 aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz |
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-css_parser')
-rw-r--r-- | unmaintained/ruby-css_parser/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/ruby-css_parser/APKBUILD b/unmaintained/ruby-css_parser/APKBUILD new file mode 100644 index 0000000000..711ae950ba --- /dev/null +++ b/unmaintained/ruby-css_parser/APKBUILD @@ -0,0 +1,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" |