# HG changeset patch # User David Demelier # Date 1569302509 -7200 # Node ID 4f7c8e83603f3702420ace5a339b8f63f70333b5 # Parent c2d32a029aedd64355e6663652f29875e68c2ab5 ruby/rb-coderay: initial import, closes #2388 diff -r c2d32a029aed -r 4f7c8e83603f ruby/rb-coderay/rb-coderay.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby/rb-coderay/rb-coderay.sh Tue Sep 24 07:21:49 2019 +0200 @@ -0,0 +1,36 @@ +#!/bin/sh +# +# Copyright (c) 2019 David Demelier +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# + +_GEM=coderay + +PKGNAME=rb-coderay +PKGVERSION=1.1.2 +PKGREVISION=1 +PKGLICENSE="MIT" +PKGSUMMARY="fast and easy syntax highlighting" +PKGDOWNLOAD="https://rubygems.org/downloads/$_GEM-$PKGVERSION.gem" +PKGDEPENDS="ruby" + +build() +{ + gem install -l \ + --ignore-dependencies \ + --no-user-install \ + -i $DESTDIR/$(gem env gemdir) \ + -n $DESTDIR/bin \ + $_GEM-$PKGVERSION.gem +} diff -r c2d32a029aed -r 4f7c8e83603f ruby/rb-coderay/rb-coderay.sha1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby/rb-coderay/rb-coderay.sha1 Tue Sep 24 07:21:49 2019 +0200 @@ -0,0 +1,1 @@ +4a174a26a9fbb78ea68e5a7b02e1bbc6be001f5d coderay-1.1.2.gem