changeset 1122:c3584df9c453

ruby/rb-gosu: initial import, closes #2348
author David Demelier <markand@malikania.fr>
date Mon, 23 Sep 2019 21:05:00 +0200
parents 4d8dae2b477b
children 336ae5a21799
files ruby/rb-gosu/rb-gosu.sh ruby/rb-gosu/rb-gosu.sha1
diffstat 2 files changed, 44 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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 <markand@malikania.fr>
+#
+# 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
+}
--- /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