# HG changeset patch # User David Demelier # Date 1569265500 -7200 # Node ID c3584df9c4539c4cb8c0809030dbded746135470 # Parent 4d8dae2b477bb0204025a9ad703f8f99d5549c5f ruby/rb-gosu: initial import, closes #2348 diff -r 4d8dae2b477b -r c3584df9c453 ruby/rb-gosu/rb-gosu.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby/rb-gosu/rb-gosu.sh Mon Sep 23 21:05:00 2019 +0200 @@ -0,0 +1,43 @@ +#!/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=gosu + +PKGNAME=rb-gosu +PKGVERSION=0.14.5 +PKGREVISION=1 +PKGLICENSE="MIT" +PKGSUMMARY="2D game development library" +PKGDOWNLOAD="https://rubygems.org/downloads/$_GEM-$PKGVERSION.gem" +PKGDEPENDS="fontconfig + freetype + libvorbis + mesa + mpg123 + openal-soft + ruby + sdl2" + +build() +{ + gem install -l \ + --ignore-dependencies \ + --no-user-install \ + -i $DESTDIR/$(gem env gemdir) \ + -n $DESTDIR/bin \ + $_GEM-$PKGVERSION.gem +} diff -r 4d8dae2b477b -r c3584df9c453 ruby/rb-gosu/rb-gosu.sha1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby/rb-gosu/rb-gosu.sha1 Mon Sep 23 21:05:00 2019 +0200 @@ -0,0 +1,1 @@ +94042cb8e646497391a60d2473281140cf6a60c7 gosu-0.14.5.gem