summaryrefslogtreecommitdiffstats
path: root/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'ruby')
-rw-r--r--ruby/3llo/3llo.SlackBuild (renamed from ruby/rubygem-rainbow/rubygem-rainbow.SlackBuild)29
-rw-r--r--ruby/3llo/3llo.info10
-rw-r--r--ruby/3llo/README8
-rw-r--r--ruby/3llo/slack-desc19
-rw-r--r--ruby/chronic/chronic.SlackBuild24
-rw-r--r--ruby/chronic/chronic.info2
-rw-r--r--ruby/gem2tgz/gem2tgz.SlackBuild16
-rw-r--r--ruby/heroku-client/heroku-client.SlackBuild16
-rw-r--r--ruby/ncurses-ruby/README9
-rw-r--r--ruby/ncurses-ruby/ncurses-ruby.SlackBuild18
-rw-r--r--ruby/ncurses-ruby/ncurses-ruby.info2
-rw-r--r--ruby/passenger/passenger.SlackBuild22
-rw-r--r--ruby/pastel/README12
-rw-r--r--ruby/pastel/pastel.SlackBuild (renamed from ruby/rubygem-ruby-progressbar/rubygem-ruby-progressbar.SlackBuild)30
-rw-r--r--ruby/pastel/pastel.info10
-rw-r--r--ruby/pastel/slack-desc19
-rw-r--r--ruby/rbenv/README7
-rw-r--r--ruby/rbenv/rbenv.SlackBuild21
-rw-r--r--ruby/rbenv/rbenv.info6
-rw-r--r--ruby/ruby-build/ruby-build.SlackBuild25
-rw-r--r--ruby/ruby-build/ruby-build.info6
-rw-r--r--ruby/ruby-faraday/README3
-rw-r--r--ruby/ruby-faraday/ruby-faraday.SlackBuild125
-rw-r--r--ruby/ruby-faraday/ruby-faraday.info10
-rw-r--r--ruby/ruby-gist/README6
-rw-r--r--ruby/ruby-gist/ruby-gist.SlackBuild124
-rw-r--r--ruby/ruby-gist/ruby-gist.info10
-rw-r--r--ruby/ruby-gist/slack-desc19
-rw-r--r--ruby/ruby-haste/README3
-rw-r--r--ruby/ruby-haste/ruby-haste.SlackBuild124
-rw-r--r--ruby/ruby-haste/ruby-haste.info10
-rw-r--r--ruby/ruby-json/README3
-rw-r--r--ruby/ruby-json/ruby-json.SlackBuild124
-rw-r--r--ruby/ruby-json/ruby-json.info10
-rw-r--r--ruby/ruby-multipart-post/README5
-rw-r--r--ruby/ruby-multipart-post/ruby-multipart-post.SlackBuild124
-rw-r--r--ruby/ruby-multipart-post/ruby-multipart-post.info10
-rw-r--r--ruby/ruby-multipart-post/slack-desc19
-rw-r--r--ruby/ruby-native-package-installer/README3
-rw-r--r--ruby/ruby-native-package-installer/ruby-native-package-installer.SlackBuild20
-rw-r--r--ruby/ruby-native-package-installer/ruby-native-package-installer.info6
-rw-r--r--ruby/rubygem-activesupport/README6
-rw-r--r--ruby/rubygem-activesupport/rubygem-activesupport.SlackBuild16
-rw-r--r--ruby/rubygem-asciidoctor/README3
-rw-r--r--ruby/rubygem-asciidoctor/rubygem-asciidoctor.SlackBuild113
-rw-r--r--ruby/rubygem-asciidoctor/rubygem-asciidoctor.info10
-rw-r--r--ruby/rubygem-asciidoctor/slack-desc19
-rw-r--r--ruby/rubygem-ast/rubygem-ast.SlackBuild22
-rw-r--r--ruby/rubygem-ast/rubygem-ast.info6
-rw-r--r--ruby/rubygem-atk/rubygem-atk.SlackBuild26
-rw-r--r--ruby/rubygem-atk/rubygem-atk.info6
-rw-r--r--ruby/rubygem-bundler/README6
-rw-r--r--ruby/rubygem-bundler/rubygem-bundler.SlackBuild113
-rw-r--r--ruby/rubygem-bundler/rubygem-bundler.info10
-rw-r--r--ruby/rubygem-bundler/slack-desc19
-rw-r--r--ruby/rubygem-cairo-gobject/README1
-rw-r--r--ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.SlackBuild130
-rw-r--r--ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.info10
-rw-r--r--ruby/rubygem-cairo-gobject/slack-desc19
-rw-r--r--ruby/rubygem-cairo/rubygem-cairo.SlackBuild24
-rw-r--r--ruby/rubygem-cairo/rubygem-cairo.info8
-rw-r--r--ruby/rubygem-coderay/README4
-rw-r--r--ruby/rubygem-coderay/rubygem-coderay.SlackBuild16
-rw-r--r--ruby/rubygem-concurrent-ruby/README6
-rw-r--r--ruby/rubygem-concurrent-ruby/rubygem-concurrent-ruby.SlackBuild16
-rw-r--r--ruby/rubygem-cool.io/README5
-rw-r--r--ruby/rubygem-cool.io/rubygem-cool.io.SlackBuild24
-rw-r--r--ruby/rubygem-cool.io/rubygem-cool.io.info6
-rw-r--r--ruby/rubygem-daemons/README15
-rw-r--r--ruby/rubygem-daemons/rubygem-daemons.SlackBuild16
-rw-r--r--ruby/rubygem-diff-lcs/README7
-rw-r--r--ruby/rubygem-diff-lcs/rubygem-diff-lcs.SlackBuild16
-rw-r--r--ruby/rubygem-fastercsv/README6
-rw-r--r--ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild22
-rw-r--r--ruby/rubygem-file-tail/README5
-rw-r--r--ruby/rubygem-file-tail/rubygem-file-tail.SlackBuild16
-rw-r--r--ruby/rubygem-fluentd/README6
-rw-r--r--ruby/rubygem-fluentd/rubygem-fluentd.SlackBuild22
-rw-r--r--ruby/rubygem-gdk3/README1
-rw-r--r--ruby/rubygem-gdk3/rubygem-gdk3.SlackBuild (renamed from ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild)38
-rw-r--r--ruby/rubygem-gdk3/rubygem-gdk3.info10
-rw-r--r--ruby/rubygem-gdk3/slack-desc (renamed from ruby/ruby-faraday/slack-desc)22
-rw-r--r--ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.SlackBuild26
-rw-r--r--ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.info8
-rw-r--r--ruby/rubygem-gio2/README2
-rw-r--r--ruby/rubygem-gio2/rubygem-gio2.SlackBuild130
-rw-r--r--ruby/rubygem-gio2/rubygem-gio2.info10
-rw-r--r--ruby/rubygem-gio2/slack-desc19
-rw-r--r--ruby/rubygem-glib2/rubygem-glib2.SlackBuild26
-rw-r--r--ruby/rubygem-glib2/rubygem-glib2.info8
-rw-r--r--ruby/rubygem-gobject-introspection/README3
-rw-r--r--ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.SlackBuild130
-rw-r--r--ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.info10
-rw-r--r--ruby/rubygem-gobject-introspection/slack-desc19
-rw-r--r--ruby/rubygem-gosu/rubygem-gosu.SlackBuild18
-rw-r--r--ruby/rubygem-gosu/rubygem-gosu.info8
-rw-r--r--ruby/rubygem-gtk2/README3
-rw-r--r--ruby/rubygem-gtk2/rubygem-gtk2.SlackBuild26
-rw-r--r--ruby/rubygem-gtk2/rubygem-gtk2.info6
-rw-r--r--ruby/rubygem-gtk3/README1
-rw-r--r--ruby/rubygem-gtk3/rubygem-gtk3.SlackBuild130
-rw-r--r--ruby/rubygem-gtk3/rubygem-gtk3.info10
-rw-r--r--ruby/rubygem-gtk3/slack-desc19
-rw-r--r--ruby/rubygem-highline/README8
-rw-r--r--ruby/rubygem-highline/rubygem-highline.SlackBuild22
-rw-r--r--ruby/rubygem-hpricot/rubygem-hpricot.SlackBuild16
-rw-r--r--ruby/rubygem-http_parser.rb/README6
-rw-r--r--ruby/rubygem-http_parser.rb/rubygem-http_parser.rb.SlackBuild22
-rw-r--r--ruby/rubygem-httparty/rubygem-httparty.SlackBuild16
-rw-r--r--ruby/rubygem-i18n/rubygem-i18n.SlackBuild16
-rw-r--r--ruby/rubygem-jaro_winkler/README2
-rw-r--r--ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.SlackBuild113
-rw-r--r--ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.info10
-rw-r--r--ruby/rubygem-jaro_winkler/slack-desc19
-rw-r--r--ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild21
-rw-r--r--ruby/rubygem-mail/rubygem-mail.SlackBuild18
-rw-r--r--ruby/rubygem-mail/rubygem-mail.info2
-rw-r--r--ruby/rubygem-manpages/README6
-rw-r--r--ruby/rubygem-manpages/rubygem-manpages.SlackBuild16
-rw-r--r--ruby/rubygem-matrix/README1
-rw-r--r--ruby/rubygem-matrix/rubygem-matrix.SlackBuild (renamed from ruby/rubygem-powerpack/rubygem-powerpack.SlackBuild)27
-rw-r--r--ruby/rubygem-matrix/rubygem-matrix.info10
-rw-r--r--ruby/rubygem-matrix/slack-desc (renamed from ruby/rubygem-ruumba/slack-desc)22
-rw-r--r--ruby/rubygem-method_source/rubygem-method_source.SlackBuild16
-rw-r--r--ruby/rubygem-mime-types-data/rubygem-mime-types-data.SlackBuild20
-rw-r--r--ruby/rubygem-mime-types-data/rubygem-mime-types-data.info8
-rw-r--r--ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild18
-rw-r--r--ruby/rubygem-mime-types/rubygem-mime-types.info2
-rw-r--r--ruby/rubygem-mini_mime/rubygem-mini_mime.SlackBuild18
-rw-r--r--ruby/rubygem-mini_mime/rubygem-mini_mime.info2
-rw-r--r--ruby/rubygem-mini_mime/slack-desc2
-rw-r--r--ruby/rubygem-msgpack/README6
-rw-r--r--ruby/rubygem-msgpack/rubygem-msgpack.SlackBuild24
-rw-r--r--ruby/rubygem-msgpack/rubygem-msgpack.info6
-rw-r--r--ruby/rubygem-multi_json/rubygem-multi_json.SlackBuild18
-rw-r--r--ruby/rubygem-multi_json/rubygem-multi_json.info2
-rw-r--r--ruby/rubygem-multi_xml/rubygem-multi_xml.SlackBuild16
-rw-r--r--ruby/rubygem-mustache/README6
-rw-r--r--ruby/rubygem-mustache/rubygem-mustache.SlackBuild16
-rw-r--r--ruby/rubygem-native-package-installer/README1
-rw-r--r--ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild112
-rw-r--r--ruby/rubygem-native-package-installer/rubygem-native-package-installer.info10
-rw-r--r--ruby/rubygem-native-package-installer/slack-desc19
-rw-r--r--ruby/rubygem-net-scp/rubygem-net-scp.SlackBuild16
-rw-r--r--ruby/rubygem-net-sftp/rubygem-net-sftp.SlackBuild16
-rw-r--r--ruby/rubygem-net-ssh/README6
-rw-r--r--ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild16
-rw-r--r--ruby/rubygem-optimist/README8
-rw-r--r--ruby/rubygem-optimist/rubygem-optimist.SlackBuild16
-rw-r--r--ruby/rubygem-paint/rubygem-paint.SlackBuild16
-rw-r--r--ruby/rubygem-pango/rubygem-pango.SlackBuild26
-rw-r--r--ruby/rubygem-pango/rubygem-pango.info8
-rw-r--r--ruby/rubygem-parallel/rubygem-parallel.SlackBuild34
-rw-r--r--ruby/rubygem-parallel/rubygem-parallel.info6
-rw-r--r--ruby/rubygem-parser/rubygem-parser.SlackBuild36
-rw-r--r--ruby/rubygem-parser/rubygem-parser.info6
-rw-r--r--ruby/rubygem-pkg-config/rubygem-pkg-config.SlackBuild46
-rw-r--r--ruby/rubygem-pkg-config/rubygem-pkg-config.info6
-rw-r--r--ruby/rubygem-powerpack/README1
-rw-r--r--ruby/rubygem-powerpack/rubygem-powerpack.info10
-rw-r--r--ruby/rubygem-powerpack/slack-desc19
-rw-r--r--ruby/rubygem-pry/rubygem-pry.SlackBuild16
-rw-r--r--ruby/rubygem-pygments/rubygem-pygments.SlackBuild18
-rw-r--r--ruby/rubygem-pygments/rubygem-pygments.info2
-rw-r--r--ruby/rubygem-rack/rubygem-rack.SlackBuild22
-rw-r--r--ruby/rubygem-rainbow/README1
-rw-r--r--ruby/rubygem-rainbow/rubygem-rainbow.info10
-rw-r--r--ruby/rubygem-rainbow/slack-desc19
-rw-r--r--ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild16
-rw-r--r--ruby/rubygem-red-colors/README2
-rw-r--r--ruby/rubygem-red-colors/rubygem-red-colors.SlackBuild (renamed from ruby/rubygem-rubocop/rubygem-rubocop.SlackBuild)25
-rw-r--r--ruby/rubygem-red-colors/rubygem-red-colors.info10
-rw-r--r--ruby/rubygem-red-colors/slack-desc19
-rw-r--r--ruby/rubygem-ronn/README7
-rw-r--r--ruby/rubygem-ronn/rubygem-ronn.SlackBuild16
-rw-r--r--ruby/rubygem-rspec-core/rubygem-rspec-core.SlackBuild16
-rw-r--r--ruby/rubygem-rspec-expectations/rubygem-rspec-expectations.SlackBuild16
-rw-r--r--ruby/rubygem-rspec-mocks/README6
-rw-r--r--ruby/rubygem-rspec-mocks/rubygem-rspec-mocks.SlackBuild16
-rw-r--r--ruby/rubygem-rspec-support/rubygem-rspec-support.SlackBuild16
-rw-r--r--ruby/rubygem-rspec/README19
-rw-r--r--ruby/rubygem-rspec/rubygem-rspec.SlackBuild16
-rw-r--r--ruby/rubygem-rubocop/README1
-rw-r--r--ruby/rubygem-rubocop/rubygem-rubocop.info10
-rw-r--r--ruby/rubygem-rubocop/slack-desc19
-rw-r--r--ruby/rubygem-ruby-progressbar/README1
-rw-r--r--ruby/rubygem-ruby-progressbar/rubygem-ruby-progressbar.info10
-rw-r--r--ruby/rubygem-ruby-progressbar/slack-desc19
-rw-r--r--ruby/rubygem-ruby2ruby/README6
-rw-r--r--ruby/rubygem-ruby2ruby/rubygem-ruby2ruby.SlackBuild16
-rw-r--r--ruby/rubygem-ruby_parser/README7
-rw-r--r--ruby/rubygem-ruby_parser/rubygem-ruby_parser.SlackBuild16
-rw-r--r--ruby/rubygem-ruumba/README1
-rw-r--r--ruby/rubygem-ruumba/rubygem-ruumba.info10
-rw-r--r--ruby/rubygem-sass/README8
-rw-r--r--ruby/rubygem-sass/rubygem-sass.SlackBuild16
-rw-r--r--ruby/rubygem-sexp_processor/README4
-rw-r--r--ruby/rubygem-sexp_processor/rubygem-sexp_processor.SlackBuild16
-rw-r--r--ruby/rubygem-sigdump/rubygem-sigdump.SlackBuild22
-rw-r--r--ruby/rubygem-slop3/README3
-rw-r--r--ruby/rubygem-slop3/rubygem-slop3.SlackBuild16
-rw-r--r--ruby/rubygem-sourcify/README3
-rw-r--r--ruby/rubygem-sourcify/rubygem-sourcify.SlackBuild16
-rw-r--r--ruby/rubygem-string-scrub/rubygem-string-scrub.SlackBuild22
-rw-r--r--ruby/rubygem-sync/rubygem-sync.SlackBuild18
-rw-r--r--ruby/rubygem-sync/rubygem-sync.info2
-rw-r--r--ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.SlackBuild18
-rw-r--r--ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.info2
-rw-r--r--ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild22
-rw-r--r--ruby/rubygem-thread_safe/rubygem-thread_safe.SlackBuild22
-rw-r--r--ruby/rubygem-tins/rubygem-tins.SlackBuild18
-rw-r--r--ruby/rubygem-tins/rubygem-tins.info2
-rw-r--r--ruby/rubygem-trogdoro-el4r/README6
-rw-r--r--ruby/rubygem-trogdoro-el4r/rubygem-trogdoro-el4r.SlackBuild16
-rw-r--r--ruby/rubygem-trollop/rubygem-trollop.SlackBuild16
-rw-r--r--ruby/rubygem-tzinfo-data/README4
-rw-r--r--ruby/rubygem-tzinfo-data/rubygem-tzinfo-data.SlackBuild22
-rw-r--r--ruby/rubygem-tzinfo/rubygem-tzinfo.SlackBuild22
-rw-r--r--ruby/rubygem-unicode-display_width/README1
-rw-r--r--ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.SlackBuild116
-rw-r--r--ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.info10
-rw-r--r--ruby/rubygem-unicode-display_width/slack-desc19
-rw-r--r--ruby/rubygem-xiki/README5
-rw-r--r--ruby/rubygem-xiki/rubygem-xiki.SlackBuild16
-rw-r--r--ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.SlackBuild24
-rw-r--r--ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.info6
-rw-r--r--ruby/rubygems-update/rubygems-update.SlackBuild22
-rw-r--r--ruby/rubygems-update/rubygems-update.info6
-rw-r--r--ruby/sequel/README22
-rw-r--r--ruby/sequel/sequel.SlackBuild20
-rw-r--r--ruby/sequel/sequel.info8
-rw-r--r--ruby/sequel4/sequel4.SlackBuild18
-rw-r--r--ruby/sequel4/sequel4.info2
-rw-r--r--ruby/sqlite3/sqlite3.SlackBuild24
-rw-r--r--ruby/sqlite3/sqlite3.info2
-rw-r--r--ruby/tty-color/README2
-rw-r--r--ruby/tty-color/slack-desc (renamed from ruby/ruby-json/slack-desc)22
-rw-r--r--ruby/tty-color/tty-color.SlackBuild124
-rw-r--r--ruby/tty-color/tty-color.info10
-rw-r--r--ruby/tty-cursor/README7
-rw-r--r--ruby/tty-cursor/slack-desc19
-rw-r--r--ruby/tty-cursor/tty-cursor.SlackBuild124
-rw-r--r--ruby/tty-cursor/tty-cursor.info10
-rw-r--r--ruby/tty-prompt/README9
-rw-r--r--ruby/tty-prompt/slack-desc (renamed from ruby/ruby-haste/slack-desc)22
-rw-r--r--ruby/tty-prompt/tty-prompt.SlackBuild124
-rw-r--r--ruby/tty-prompt/tty-prompt.info10
-rw-r--r--ruby/tty-reader/README22
-rw-r--r--ruby/tty-reader/slack-desc19
-rw-r--r--ruby/tty-reader/tty-reader.SlackBuild124
-rw-r--r--ruby/tty-reader/tty-reader.info10
-rw-r--r--ruby/tty-screen/README6
-rw-r--r--ruby/tty-screen/slack-desc19
-rw-r--r--ruby/tty-screen/tty-screen.SlackBuild124
-rw-r--r--ruby/tty-screen/tty-screen.info10
-rw-r--r--ruby/wisper/README13
-rw-r--r--ruby/wisper/slack-desc19
-rw-r--r--ruby/wisper/wisper.SlackBuild124
-rw-r--r--ruby/wisper/wisper.info10
259 files changed, 3400 insertions, 2138 deletions
diff --git a/ruby/rubygem-rainbow/rubygem-rainbow.SlackBuild b/ruby/3llo/3llo.SlackBuild
index 66e00fdc55..d4b665328c 100644
--- a/ruby/rubygem-rainbow/rubygem-rainbow.SlackBuild
+++ b/ruby/3llo/3llo.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for rubygem-rainbow
+# Slackware build script for 3llo
-# Copyright 2018 Andrew Clemons, Wellington New Zealand
+# Copyright 2022 Tonus Paris
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=rubygem-rainbow
-VERSION=${VERSION:-3.0.0}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=3llo
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=rainbow
+SRCNAM=3llo
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,17 +107,19 @@ gem install \
--bindir $PKG/usr/bin \
$CWD/$SRCNAM-$VERSION.gem
+# Strip binaries and libraries.
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
- | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- Changelog.md LICENSE README.markdown
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/ -iname ".gitkeep" -exec rm -f {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/3llo/3llo.info b/ruby/3llo/3llo.info
new file mode 100644
index 0000000000..f6081eec77
--- /dev/null
+++ b/ruby/3llo/3llo.info
@@ -0,0 +1,10 @@
+PRGNAM="3llo"
+VERSION="1.3.1"
+HOMEPAGE="https://github.com/qcam/3llo/"
+DOWNLOAD="https://rubygems.org/downloads/3llo-1.3.1.gem"
+MD5SUM="1d336c330e026c5f26f2768fbc08c82c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tty-prompt"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/ruby/3llo/README b/ruby/3llo/README
new file mode 100644
index 0000000000..6ffddf4cc0
--- /dev/null
+++ b/ruby/3llo/README
@@ -0,0 +1,8 @@
+3llo is an interactive CLI application for Trello
+
+3llo allows you to work with Trello without exiting
+your favorite terminal.
+
+3llo was inspired by the awesome rainbowstream and facy.
+
+Run 3llo --configure and follow the instructions to complete set up.
diff --git a/ruby/3llo/slack-desc b/ruby/3llo/slack-desc
new file mode 100644
index 0000000000..114d28f89c
--- /dev/null
+++ b/ruby/3llo/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+3llo: 3llo (The interactive CLI application for Trello)
+3llo:
+3llo: 3llo allows you to work with Trello without exiting your favorite
+3llo: terminal.
+3llo:
+3llo:
+3llo:
+3llo:
+3llo:
+3llo:
+3llo:
diff --git a/ruby/chronic/chronic.SlackBuild b/ruby/chronic/chronic.SlackBuild
index 9dbd3b4aa7..b1f3b667b3 100644
--- a/ruby/chronic/chronic.SlackBuild
+++ b/ruby/chronic/chronic.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for chronic
-# Copyright 2013-2014 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2013-2014 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=chronic
VERSION=${VERSION:-0.10.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -108,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/chronic/chronic.info b/ruby/chronic/chronic.info
index 93b73d5bfd..9d93e2059e 100644
--- a/ruby/chronic/chronic.info
+++ b/ruby/chronic/chronic.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/gem2tgz/gem2tgz.SlackBuild b/ruby/gem2tgz/gem2tgz.SlackBuild
index 8adca355b2..f819c5395d 100644
--- a/ruby/gem2tgz/gem2tgz.SlackBuild
+++ b/ruby/gem2tgz/gem2tgz.SlackBuild
@@ -1,19 +1,29 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gem2tgz
# Written by Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gem2tgz
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
SRCNAM="gem2tgz-$VERSION.tar.gz"
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,4 +53,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/heroku-client/heroku-client.SlackBuild b/ruby/heroku-client/heroku-client.SlackBuild
index 81053d3e54..3986bf5a6b 100644
--- a/ruby/heroku-client/heroku-client.SlackBuild
+++ b/ruby/heroku-client/heroku-client.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for heroku-client
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=heroku-client
VERSION=${VERSION:-3.43.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/ncurses-ruby/README b/ruby/ncurses-ruby/README
index 9aa4037fa6..53043eab3d 100644
--- a/ruby/ncurses-ruby/README
+++ b/ruby/ncurses-ruby/README
@@ -1,6 +1,7 @@
A Ruby module for accessing the ncurses library
-This ncurses interface provides access to the functions, macros, global
-variables and constants of the ncurses library. These are mapped to a Ruby
-Module named "Ncurses": Functions and external variables are implemented as
-singleton functions of the Ncurses module.
+This ncurses interface provides access to the functions, macros,
+global variables and constants of the ncurses library. These are
+mapped to a Ruby Module named "Ncurses": Functions and external
+variables are implemented as singleton functions of the Ncurses
+module.
diff --git a/ruby/ncurses-ruby/ncurses-ruby.SlackBuild b/ruby/ncurses-ruby/ncurses-ruby.SlackBuild
index 3b44f1a659..af59484502 100644
--- a/ruby/ncurses-ruby/ncurses-ruby.SlackBuild
+++ b/ruby/ncurses-ruby/ncurses-ruby.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ncurses-ruby
-# Copyright 2016 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2016 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ncurses-ruby
VERSION=${VERSION:-1.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=ncurses-ruby
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/ncurses-ruby/ncurses-ruby.info b/ruby/ncurses-ruby/ncurses-ruby.info
index ad509afbc2..b990bfc781 100644
--- a/ruby/ncurses-ruby/ncurses-ruby.info
+++ b/ruby/ncurses-ruby/ncurses-ruby.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/passenger/passenger.SlackBuild b/ruby/passenger/passenger.SlackBuild
index 52b1e5bfc6..a538d4be57 100644
--- a/ruby/passenger/passenger.SlackBuild
+++ b/ruby/passenger/passenger.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for passenger
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=passenger
VERSION=${VERSION:-5.0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -130,4 +140,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/pastel/README b/ruby/pastel/README
new file mode 100644
index 0000000000..a308737b03
--- /dev/null
+++ b/ruby/pastel/README
@@ -0,0 +1,12 @@
+Pastel provides independent coloring component for TTY toolkit.
+Terminal output styling with intuitive and clean API that doesn't
+monkey patch String class.
+Pastel is minimal and focused to work in all terminal emulators.
+
+Features
+ Doesn't monkey patch String
+ Intuitive and expressive API
+ Minimal and focused to work on all terminal emulators
+ Auto-detection of color support
+ Allows nested styles
+ Performant
diff --git a/ruby/rubygem-ruby-progressbar/rubygem-ruby-progressbar.SlackBuild b/ruby/pastel/pastel.SlackBuild
index a604bdb6c5..b4f6ae27c9 100644
--- a/ruby/rubygem-ruby-progressbar/rubygem-ruby-progressbar.SlackBuild
+++ b/ruby/pastel/pastel.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for rubygem-ruby-progressbar
+# Slackware build script for pastel
-# Copyright 2018-2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2022, Tonus, Paris
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=rubygem-ruby-progressbar
-VERSION=${VERSION:-1.10.1}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pastel
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=ruby-progressbar
+SRCNAM=pastel
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,7 +79,7 @@ printf("%s/%s/gems/%s\n",
')
gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
+ ruby -r yaml -r rbconfig -e '
c = RbConfig::CONFIG
path = sprintf("%s/%s/gems/%s",
c["libdir"],
@@ -100,17 +107,18 @@ gem install \
--bindir $PKG/usr/bin \
$CWD/$SRCNAM-$VERSION.gem
+# Strip binaries and libraries.
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
- | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- LICENSE.txt README.md
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/pastel/pastel.info b/ruby/pastel/pastel.info
new file mode 100644
index 0000000000..d164ee7a9b
--- /dev/null
+++ b/ruby/pastel/pastel.info
@@ -0,0 +1,10 @@
+PRGNAM="pastel"
+VERSION="0.8.0"
+HOMEPAGE="https://github.com/piotrmurach/pastel/"
+DOWNLOAD="https://rubygems.org/downloads/pastel-0.8.0.gem"
+MD5SUM="0b238cba4ecffadc6ef557c6803d5a01"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tty-color"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/ruby/pastel/slack-desc b/ruby/pastel/slack-desc
new file mode 100644
index 0000000000..b8467891bc
--- /dev/null
+++ b/ruby/pastel/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+pastel: pastel (provides independent coloring component for TTY toolkit.)
+pastel:
+pastel: Terminal output styling with intuitive and clean API that doesn't
+pastel: monkey patch String class.
+pastel:
+pastel: Pastel is minimal and focused to work in all terminal emulators.
+pastel:
+pastel:
+pastel:
+pastel:
+pastel:
diff --git a/ruby/rbenv/README b/ruby/rbenv/README
index e929145599..3bc035b660 100644
--- a/ruby/rbenv/README
+++ b/ruby/rbenv/README
@@ -1,5 +1,6 @@
rbenv - Groom your app's Ruby environment
-Use rbenv to pick a Ruby version for your application and guarantee that your
-development environment matches production. Put rbenv to work with Bundler for
-painless Ruby upgrades and bulletproof deployments.
+Use rbenv to pick a Ruby version for your application and guarantee
+that your development environment matches production. Put rbenv
+to work with Bundler for painless Ruby upgrades and bulletproof
+deployments.
diff --git a/ruby/rbenv/rbenv.SlackBuild b/ruby/rbenv/rbenv.SlackBuild
index 34d791f775..f00353a934 100644
--- a/ruby/rbenv/rbenv.SlackBuild
+++ b/ruby/rbenv/rbenv.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rbenv
-# Copyright 2016-2017,2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2016-2017,2019,2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rbenv
-VERSION=${VERSION:-1.1.2}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -121,5 +131,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rbenv/rbenv.info b/ruby/rbenv/rbenv.info
index b71d03ef07..c75a88d035 100644
--- a/ruby/rbenv/rbenv.info
+++ b/ruby/rbenv/rbenv.info
@@ -1,8 +1,8 @@
PRGNAM="rbenv"
-VERSION="1.1.2"
+VERSION="1.2.0"
HOMEPAGE="https://github.com/rbenv/rbenv"
-DOWNLOAD="https://github.com/rbenv/rbenv/archive/v1.1.2/rbenv-1.1.2.tar.gz"
-MD5SUM="b5e89a81bcfd43780eb02d620d95cafb"
+DOWNLOAD="https://github.com/rbenv/rbenv/archive/v1.2.0/rbenv-1.2.0.tar.gz"
+MD5SUM="ea260ab924cfc22c607a219d26a5a195"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/ruby-build/ruby-build.SlackBuild b/ruby/ruby-build/ruby-build.SlackBuild
index a9e95c987c..c54ef40835 100644
--- a/ruby/ruby-build/ruby-build.SlackBuild
+++ b/ruby/ruby-build/ruby-build.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ruby-build
-# Copyright 2016-2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2016-2022 Andrew Clemons, Wellington New Zealand
+# Copyright 2022-2024 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +23,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ruby-build
-VERSION=${VERSION:-20200401}
+VERSION=${VERSION:-20240416}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,14 +57,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i '/^MAN_PATH/s/share\///' install.sh
PREFIX=$PKG/usr bash ./install.sh
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CONDUCT.md README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CODE_OF_CONDUCT.md README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/ruby-build/ruby-build.info b/ruby/ruby-build/ruby-build.info
index 260f7420ae..c34d1d5262 100644
--- a/ruby/ruby-build/ruby-build.info
+++ b/ruby/ruby-build/ruby-build.info
@@ -1,8 +1,8 @@
PRGNAM="ruby-build"
-VERSION="20200401"
+VERSION="20240416"
HOMEPAGE="https://github.com/rbenv/ruby-build"
-DOWNLOAD="https://github.com/rbenv/ruby-build/archive/v20200401/ruby-build-2020401.tar.gz"
-MD5SUM="1d09596c35d03aff4e9929bf6167bcc4"
+DOWNLOAD="https://github.com/rbenv/ruby-build/archive/v20240416/ruby-build-20240416.tar.gz"
+MD5SUM="b4da2b0ae4ee9765943c620b3f72e925"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/ruby-faraday/README b/ruby/ruby-faraday/README
deleted file mode 100644
index aa7f2df4b7..0000000000
--- a/ruby/ruby-faraday/README
+++ /dev/null
@@ -1,3 +0,0 @@
-ruby-faraday (HTTP/REST API client library)
-
-HTTP/REST API client library.
diff --git a/ruby/ruby-faraday/ruby-faraday.SlackBuild b/ruby/ruby-faraday/ruby-faraday.SlackBuild
deleted file mode 100644
index 847cd016d6..0000000000
--- a/ruby/ruby-faraday/ruby-faraday.SlackBuild
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for ruby-faraday.
-#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ruby-faraday
-VERSION=${VERSION:-0.17.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-SRCNAM=${SRCNAM:-faraday}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -rf $PKG/$DESTDIR/cache
-rmdir $PKG/$DESTDIR/{build_info,extensions}
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/ruby-faraday/ruby-faraday.info b/ruby/ruby-faraday/ruby-faraday.info
deleted file mode 100644
index bf1d7501d6..0000000000
--- a/ruby/ruby-faraday/ruby-faraday.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ruby-faraday"
-VERSION="0.17.1"
-HOMEPAGE="https://rubygems.org/gems/faraday"
-DOWNLOAD="https://rubygems.org/downloads/faraday-0.17.1.gem"
-MD5SUM="edd989b5d284df84dfecf405df19e382"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ruby-multipart-post"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/ruby/ruby-gist/README b/ruby/ruby-gist/README
deleted file mode 100644
index b754e4c45d..0000000000
--- a/ruby/ruby-gist/README
+++ /dev/null
@@ -1,6 +0,0 @@
-ruby-gist (Provides a single function that uploads a gist)
-
-The gist gem provides a gist command that you can use from your
-terminal to upload content to https://gist.github.com/.
-
-Potentially the best command line gister: http://defunkt.io/gist/
diff --git a/ruby/ruby-gist/ruby-gist.SlackBuild b/ruby/ruby-gist/ruby-gist.SlackBuild
deleted file mode 100644
index 18a32668d4..0000000000
--- a/ruby/ruby-gist/ruby-gist.SlackBuild
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for ruby-gist.
-#
-# Copyright 2016-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ruby-gist
-SRCNAM=gist
-VERSION=${VERSION:-5.1.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -rf $PKG/$DESTDIR/cache
-rmdir $PKG/$DESTDIR/{build_info,extensions}
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/ruby-gist/ruby-gist.info b/ruby/ruby-gist/ruby-gist.info
deleted file mode 100644
index 4b3c568b49..0000000000
--- a/ruby/ruby-gist/ruby-gist.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ruby-gist"
-VERSION="5.1.0"
-HOMEPAGE="https://rubygems.org/gems/gist"
-DOWNLOAD="https://rubygems.org/downloads/gist-5.1.0.gem"
-MD5SUM="e60092c48bfd8d50750f3a2c4bb9c65e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/ruby/ruby-gist/slack-desc b/ruby/ruby-gist/slack-desc
deleted file mode 100644
index 2593b450c1..0000000000
--- a/ruby/ruby-gist/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ruby-gist: ruby-gist (Provides a single function that uploads a gist)
-ruby-gist:
-ruby-gist: The gist gem provides a gist command that you can use from your
-ruby-gist: terminal to upload content to https://gist.github.com/.
-ruby-gist:
-ruby-gist: Home page: https://rubygems.org/gems/gist/
-ruby-gist:
-ruby-gist:
-ruby-gist:
-ruby-gist:
-ruby-gist:
diff --git a/ruby/ruby-haste/README b/ruby/ruby-haste/README
deleted file mode 100644
index 7807e0b950..0000000000
--- a/ruby/ruby-haste/README
+++ /dev/null
@@ -1,3 +0,0 @@
-ruby-haste (CLI Haste Client)
-
-ruby-haste is a coomand-line tool for Haste.
diff --git a/ruby/ruby-haste/ruby-haste.SlackBuild b/ruby/ruby-haste/ruby-haste.SlackBuild
deleted file mode 100644
index 2e4babae6e..0000000000
--- a/ruby/ruby-haste/ruby-haste.SlackBuild
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for ruby-haste.
-#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ruby-haste
-SRCNAM=haste
-VERSION=${VERSION:-0.2.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -rf $PKG/$DESTDIR/cache
-rmdir $PKG/$DESTDIR/{build_info,extensions}
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/ruby-haste/ruby-haste.info b/ruby/ruby-haste/ruby-haste.info
deleted file mode 100644
index 2ce484c4df..0000000000
--- a/ruby/ruby-haste/ruby-haste.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ruby-haste"
-VERSION="0.2.3"
-HOMEPAGE="https://rubygems.org/gems/haste"
-DOWNLOAD="https://rubygems.org/downloads/haste-0.2.3.gem"
-MD5SUM="c358505677b36e6edf3978c682443238"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ruby-faraday ruby-json"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/ruby/ruby-json/README b/ruby/ruby-json/README
deleted file mode 100644
index 23bd3c47d0..0000000000
--- a/ruby/ruby-json/README
+++ /dev/null
@@ -1,3 +0,0 @@
-ruby-json (implementation as a Ruby extension in C)
-
-JSON implementation as a Ruby extension in C.
diff --git a/ruby/ruby-json/ruby-json.SlackBuild b/ruby/ruby-json/ruby-json.SlackBuild
deleted file mode 100644
index a145de337d..0000000000
--- a/ruby/ruby-json/ruby-json.SlackBuild
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for ruby-json.
-#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ruby-json
-SRCNAM=json
-VERSION=${VERSION:-2.3.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -rf $PKG/$DESTDIR/cache
-rm -rf $PKG/$DESTDIR/{build_info,extensions}
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/ruby-json/ruby-json.info b/ruby/ruby-json/ruby-json.info
deleted file mode 100644
index cbdc3e26df..0000000000
--- a/ruby/ruby-json/ruby-json.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ruby-json"
-VERSION="2.3.0"
-HOMEPAGE="https://rubygems.org/gems/json"
-DOWNLOAD="https://rubygems.org/downloads/json-2.3.0.gem"
-MD5SUM="29122d679de5d8da1e6c67bf30e54373"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/ruby/ruby-multipart-post/README b/ruby/ruby-multipart-post/README
deleted file mode 100644
index 0631cb3d8e..0000000000
--- a/ruby/ruby-multipart-post/README
+++ /dev/null
@@ -1,5 +0,0 @@
-ruby-multipart-post (A multipart form post accessory for Net::HTTP)
-
-Use with Net::HTTP to do multipart form posts.
-IO values that have #content_type, #original_filename, and
-#local_path will be posted as a binary file.
diff --git a/ruby/ruby-multipart-post/ruby-multipart-post.SlackBuild b/ruby/ruby-multipart-post/ruby-multipart-post.SlackBuild
deleted file mode 100644
index a2c393bf12..0000000000
--- a/ruby/ruby-multipart-post/ruby-multipart-post.SlackBuild
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for ruby-multipart-post.
-#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ruby-multipart-post
-SRCNAM=multipart-post
-VERSION=${VERSION:-2.1.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -rf $PKG/$DESTDIR/cache
-rmdir $PKG/$DESTDIR/{build_info,extensions}
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/ruby-multipart-post/ruby-multipart-post.info b/ruby/ruby-multipart-post/ruby-multipart-post.info
deleted file mode 100644
index 912a29c7f1..0000000000
--- a/ruby/ruby-multipart-post/ruby-multipart-post.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ruby-multipart-post"
-VERSION="2.1.1"
-HOMEPAGE="https://rubygems.org/gems/multipart-post"
-DOWNLOAD="https://rubygems.org/downloads/multipart-post-2.1.1.gem"
-MD5SUM="8383db0bd5bc3cbe9243f6e47222cf24"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/ruby/ruby-multipart-post/slack-desc b/ruby/ruby-multipart-post/slack-desc
deleted file mode 100644
index 410d191d90..0000000000
--- a/ruby/ruby-multipart-post/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ruby-multipart-post: ruby-multipart-post (A multipart form post accessory for Net::HTTP)
-ruby-multipart-post:
-ruby-multipart-post: Use with Net::HTTP to do multipart form posts.
-ruby-multipart-post:
-ruby-multipart-post: Home page: https://rubygems.org/gems/multipart-post/
-ruby-multipart-post:
-ruby-multipart-post:
-ruby-multipart-post:
-ruby-multipart-post:
-ruby-multipart-post:
-ruby-multipart-post:
diff --git a/ruby/ruby-native-package-installer/README b/ruby/ruby-native-package-installer/README
index 4f41eb20bf..830095d371 100644
--- a/ruby/ruby-native-package-installer/README
+++ b/ruby/ruby-native-package-installer/README
@@ -1 +1,2 @@
-native-package-installer helps to install native packages on "gem install".
+native-package-installer helps to install native packages on "gem
+install".
diff --git a/ruby/ruby-native-package-installer/ruby-native-package-installer.SlackBuild b/ruby/ruby-native-package-installer/ruby-native-package-installer.SlackBuild
index 382f2f8ea0..dd66cbb6af 100644
--- a/ruby/ruby-native-package-installer/ruby-native-package-installer.SlackBuild
+++ b/ruby/ruby-native-package-installer/ruby-native-package-installer.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ruby-native-package-installer
-# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ruby-native-package-installer
-VERSION=${VERSION:-1.0.6}
+VERSION=${VERSION:-1.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=native-package-installer
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -127,4 +137,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/ruby-native-package-installer/ruby-native-package-installer.info b/ruby/ruby-native-package-installer/ruby-native-package-installer.info
index 876de0a2af..633d612848 100644
--- a/ruby/ruby-native-package-installer/ruby-native-package-installer.info
+++ b/ruby/ruby-native-package-installer/ruby-native-package-installer.info
@@ -1,8 +1,8 @@
PRGNAM="ruby-native-package-installer"
-VERSION="1.0.6"
+VERSION="1.0.9"
HOMEPAGE="https://rubygems.org/gems/native-package-installer/"
-DOWNLOAD="https://rubygems.org/downloads/native-package-installer-1.0.6.gem"
-MD5SUM="d181b7f2520a9119d72e2c28fac04085"
+DOWNLOAD="https://rubygems.org/downloads/native-package-installer-1.0.9.gem"
+MD5SUM="e31f13f221831458ed5c05f7b12111de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/rubygem-activesupport/README b/ruby/rubygem-activesupport/README
index 94e49fe6ae..22e41ef90f 100644
--- a/ruby/rubygem-activesupport/README
+++ b/ruby/rubygem-activesupport/README
@@ -1,3 +1,3 @@
-A toolkit of support libraries and Ruby core extensions extracted from the Rails
-framework. Rich support for multibyte strings, internationalization, time
-zones, and testing.
+A toolkit of support libraries and Ruby core extensions extracted
+from the Rails framework. Rich support for multibyte strings,
+internationalization, time zones, and testing.
diff --git a/ruby/rubygem-activesupport/rubygem-activesupport.SlackBuild b/ruby/rubygem-activesupport/rubygem-activesupport.SlackBuild
index 23afc4f0fa..1983eb870f 100644
--- a/ruby/rubygem-activesupport/rubygem-activesupport.SlackBuild
+++ b/ruby/rubygem-activesupport/rubygem-activesupport.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-activesupport
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-activesupport
VERSION=${VERSION:-5.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=activesupport
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-asciidoctor/README b/ruby/rubygem-asciidoctor/README
deleted file mode 100644
index a8d96f4600..0000000000
--- a/ruby/rubygem-asciidoctor/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Asciidoctor is a fast text processor and publishing toolchain for
-converting AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other
-formats.
diff --git a/ruby/rubygem-asciidoctor/rubygem-asciidoctor.SlackBuild b/ruby/rubygem-asciidoctor/rubygem-asciidoctor.SlackBuild
deleted file mode 100644
index 0d5a8fa7b0..0000000000
--- a/ruby/rubygem-asciidoctor/rubygem-asciidoctor.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for asciidoctor
-
-# Copyright 2017 Trevor D. Cook, Issaquah, WA, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=rubygem-asciidoctor
-VERSION=${VERSION:-1.5.6.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=asciidoctor
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/rubygem-asciidoctor/rubygem-asciidoctor.info b/ruby/rubygem-asciidoctor/rubygem-asciidoctor.info
deleted file mode 100644
index 97ec285487..0000000000
--- a/ruby/rubygem-asciidoctor/rubygem-asciidoctor.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-asciidoctor"
-VERSION="1.5.6.1"
-HOMEPAGE="https://asciidoctor.org"
-DOWNLOAD="https://rubygems.org/downloads/asciidoctor-1.5.6.1.gem"
-MD5SUM="635b2a8ff04dd5b5f534d915c1303d2c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Trevor D. Cook"
-EMAIL="trevor@trevorcook.name"
diff --git a/ruby/rubygem-asciidoctor/slack-desc b/ruby/rubygem-asciidoctor/slack-desc
deleted file mode 100644
index da8a672706..0000000000
--- a/ruby/rubygem-asciidoctor/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-asciidoctor: rubygem-asciidoctor (text processor and publishing toolchain)
-rubygem-asciidoctor:
-rubygem-asciidoctor: Asciidoctor is a fast text processor and publishing toolchain for
-rubygem-asciidoctor: converting AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other
-rubygem-asciidoctor: formats.
-rubygem-asciidoctor:
-rubygem-asciidoctor: Homepage: https://asciidoctor.org
-rubygem-asciidoctor:
-rubygem-asciidoctor:
-rubygem-asciidoctor:
-rubygem-asciidoctor:
diff --git a/ruby/rubygem-ast/rubygem-ast.SlackBuild b/ruby/rubygem-ast/rubygem-ast.SlackBuild
index 77142e3463..a6e1e575bd 100644
--- a/ruby/rubygem-ast/rubygem-ast.SlackBuild
+++ b/ruby/rubygem-ast/rubygem-ast.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-ast
-# Copyright 2018 Andrew Clemons, Wellington New Zealand
+# Copyright 2018,2020-2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-ast
-VERSION=${VERSION:-2.4.0}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=ast
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,11 +116,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- CHANGELOG.md LICENSE.MIT README.YARD.md README.md
+ LICENSE.MIT README.YARD.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-ast/rubygem-ast.info b/ruby/rubygem-ast/rubygem-ast.info
index 8047fc3696..334e7b68ad 100644
--- a/ruby/rubygem-ast/rubygem-ast.info
+++ b/ruby/rubygem-ast/rubygem-ast.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-ast"
-VERSION="2.4.0"
+VERSION="2.4.2"
HOMEPAGE="https://github.com/whitequark/ast"
-DOWNLOAD="https://rubygems.org/downloads/ast-2.4.0.gem"
-MD5SUM="32de813722684ea1dad7fefc676d0838"
+DOWNLOAD="https://rubygems.org/downloads/ast-2.4.2.gem"
+MD5SUM="f34e4eebd2f1d443a90a2aff11a08c73"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/rubygem-atk/rubygem-atk.SlackBuild b/ruby/rubygem-atk/rubygem-atk.SlackBuild
index 8c3f3461a0..a514cf487c 100644
--- a/ruby/rubygem-atk/rubygem-atk.SlackBuild
+++ b/ruby/rubygem-atk/rubygem-atk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-atk
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-atk
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-3.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=atk
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,11 +120,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- README
+ COPYING.LIB README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-atk/rubygem-atk.info b/ruby/rubygem-atk/rubygem-atk.info
index aa6fe23bec..daf610f31a 100644
--- a/ruby/rubygem-atk/rubygem-atk.info
+++ b/ruby/rubygem-atk/rubygem-atk.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-atk"
-VERSION="2.2.5"
+VERSION="3.4.9"
HOMEPAGE="https://rubygems.org/gems/atk"
-DOWNLOAD="https://rubygems.org/downloads/atk-2.2.5.gem"
-MD5SUM="8f6d9de53a7637e281140969c38619bc"
+DOWNLOAD="https://rubygems.org/downloads/atk-3.4.9.gem"
+MD5SUM="561a8074de5ed18e7be045aa999cc122"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-glib2"
diff --git a/ruby/rubygem-bundler/README b/ruby/rubygem-bundler/README
deleted file mode 100644
index f136d1c317..0000000000
--- a/ruby/rubygem-bundler/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Bundler provides a consistent environment for Ruby projects by tracking and
-installing the exact gems and versions that are needed.
-
-Bundler is an exit from dependency hell, and ensures that the gems you need
-are present in development, staging, and production. Starting work on a
-project is as simple as bundle install.
diff --git a/ruby/rubygem-bundler/rubygem-bundler.SlackBuild b/ruby/rubygem-bundler/rubygem-bundler.SlackBuild
deleted file mode 100644
index 864dbfb7ef..0000000000
--- a/ruby/rubygem-bundler/rubygem-bundler.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for rubygem-bundler
-
-# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=rubygem-bundler
-VERSION=${VERSION:-1.17.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=bundler
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/rubygem-bundler/rubygem-bundler.info b/ruby/rubygem-bundler/rubygem-bundler.info
deleted file mode 100644
index 391e93a066..0000000000
--- a/ruby/rubygem-bundler/rubygem-bundler.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-bundler"
-VERSION="1.17.3"
-HOMEPAGE="https://bundler.io/"
-DOWNLOAD="https://rubygems.org/downloads/bundler-1.17.3.gem"
-MD5SUM="492daae203ca93d8783a57e7b63daea4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/ruby/rubygem-bundler/slack-desc b/ruby/rubygem-bundler/slack-desc
deleted file mode 100644
index d9e2bacf47..0000000000
--- a/ruby/rubygem-bundler/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-bundler: rubygem-bundler (Manage gem dependencies)
-rubygem-bundler:
-rubygem-bundler: Bundler provides a consistent environment for Ruby projects by
-rubygem-bundler: tracking and installing the exact gems and versions that are needed.
-rubygem-bundler: Bundler is an exit from dependency hell, and ensures that the gems
-rubygem-bundler: you need are present in development, staging, and production.
-rubygem-bundler: Starting work on a project is as simple as bundle install.
-rubygem-bundler:
-rubygem-bundler: Homepage: https://bundler.io/
-rubygem-bundler:
-rubygem-bundler:
diff --git a/ruby/rubygem-cairo-gobject/README b/ruby/rubygem-cairo-gobject/README
new file mode 100644
index 0000000000..898826dd23
--- /dev/null
+++ b/ruby/rubygem-cairo-gobject/README
@@ -0,0 +1 @@
+Ruby/CairoGObject is a Ruby binding of cairo-gobject.
diff --git a/ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.SlackBuild b/ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.SlackBuild
new file mode 100644
index 0000000000..c2d64045bf
--- /dev/null
+++ b/ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+# Slackware build script for cairo-gobject
+
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-cairo-gobject
+VERSION=${VERSION:-3.4.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=cairo-gobject
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+# Get the full path of the ruby installation, for gems
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+# print a friendly warning of unsatisfied ":runtime" dependencies
+# good to leave in place, even if the gem doesn't have any dependencies.
+# things could always change
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
+ COPYING.LIB README.md
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.info b/ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.info
new file mode 100644
index 0000000000..d3608e176a
--- /dev/null
+++ b/ruby/rubygem-cairo-gobject/rubygem-cairo-gobject.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-cairo-gobject"
+VERSION="3.4.9"
+HOMEPAGE="https://rubygems.org/gems/cairo-gobject"
+DOWNLOAD="https://rubygems.org/downloads/cairo-gobject-3.4.9.gem"
+MD5SUM="7079eaba19e54d3f4d556ea1a086161d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rubygem-cairo rubygem-glib2"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-cairo-gobject/slack-desc b/ruby/rubygem-cairo-gobject/slack-desc
new file mode 100644
index 0000000000..6d065b188b
--- /dev/null
+++ b/ruby/rubygem-cairo-gobject/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rubygem-cairo-gobject: rubygem-cairo-gobject (cairo-gobject Ruby bindings)
+rubygem-cairo-gobject:
+rubygem-cairo-gobject: Ruby/CairoGObject is a Ruby binding of cairo-gobject.
+rubygem-cairo-gobject:
+rubygem-cairo-gobject: https://rubygems.org/gems/cairo-gobject
+rubygem-cairo-gobject:
+rubygem-cairo-gobject:
+rubygem-cairo-gobject:
+rubygem-cairo-gobject:
+rubygem-cairo-gobject:
+rubygem-cairo-gobject:
diff --git a/ruby/rubygem-cairo/rubygem-cairo.SlackBuild b/ruby/rubygem-cairo/rubygem-cairo.SlackBuild
index ab38ce501a..83d3a60e00 100644
--- a/ruby/rubygem-cairo/rubygem-cairo.SlackBuild
+++ b/ruby/rubygem-cairo/rubygem-cairo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-cairo
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-cairo
-VERSION=${VERSION:-1.14.1}
+VERSION=${VERSION:-1.17.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=cairo
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -118,4 +128,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-cairo/rubygem-cairo.info b/ruby/rubygem-cairo/rubygem-cairo.info
index e49ad9c6fd..2764ea2920 100644
--- a/ruby/rubygem-cairo/rubygem-cairo.info
+++ b/ruby/rubygem-cairo/rubygem-cairo.info
@@ -1,10 +1,10 @@
PRGNAM="rubygem-cairo"
-VERSION="1.14.1"
+VERSION="1.17.5"
HOMEPAGE="https://rubygems.org/gems/cairo"
-DOWNLOAD="https://rubygems.org/downloads/cairo-1.14.1.gem"
-MD5SUM="3ac58dbe91e48a105f4f5979ab147e9f"
+DOWNLOAD="https://rubygems.org/downloads/cairo-1.17.5.gem"
+MD5SUM="e3f7d5ce2949c4c20b1a0b823d670ea1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="rubygem-pkg-config"
+REQUIRES="rubygem-pkg-config rubygem-native-package-installer rubygem-red-colors"
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/ruby/rubygem-coderay/README b/ruby/rubygem-coderay/README
index 53434d3c06..1045ef259e 100644
--- a/ruby/rubygem-coderay/README
+++ b/ruby/rubygem-coderay/README
@@ -1,2 +1,2 @@
-Fast and easy syntax highlighting for selected languages, written in Ruby.
-Comes with RedCloth integration and LOC counter.
+Fast and easy syntax highlighting for selected languages, written in
+Ruby. Comes with RedCloth integration and LOC counter.
diff --git a/ruby/rubygem-coderay/rubygem-coderay.SlackBuild b/ruby/rubygem-coderay/rubygem-coderay.SlackBuild
index bb94a16ffc..8d2643cd06 100644
--- a/ruby/rubygem-coderay/rubygem-coderay.SlackBuild
+++ b/ruby/rubygem-coderay/rubygem-coderay.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-coderay
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-coderay
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=coderay
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-concurrent-ruby/README b/ruby/rubygem-concurrent-ruby/README
index 9e87dd622e..e2225f306a 100644
--- a/ruby/rubygem-concurrent-ruby/README
+++ b/ruby/rubygem-concurrent-ruby/README
@@ -1,3 +1,3 @@
-Modern concurrency tools including agents, futures, promises, thread pools,
-actors, supervisors, and more. Inspired by Erlang, Clojure, Go, JavaScript,
-actors, and classic concurrency patterns.
+Modern concurrency tools including agents, futures, promises, thread
+pools, actors, supervisors, and more. Inspired by Erlang, Clojure, Go,
+JavaScript, actors, and classic concurrency patterns.
diff --git a/ruby/rubygem-concurrent-ruby/rubygem-concurrent-ruby.SlackBuild b/ruby/rubygem-concurrent-ruby/rubygem-concurrent-ruby.SlackBuild
index 0f96c23290..330981a76e 100644
--- a/ruby/rubygem-concurrent-ruby/rubygem-concurrent-ruby.SlackBuild
+++ b/ruby/rubygem-concurrent-ruby/rubygem-concurrent-ruby.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-concurrent-ruby
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-concurrent-ruby
VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=concurrent-ruby
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-cool.io/README b/ruby/rubygem-cool.io/README
index 4bf4b95887..b85bd6dd9a 100644
--- a/ruby/rubygem-cool.io/README
+++ b/ruby/rubygem-cool.io/README
@@ -1,2 +1,3 @@
-Cool.io is an event library for Ruby, built on the libev event library which
-provides a cross-platform interface to high performance system calls.
+Cool.io is an event library for Ruby, built on the libev event library
+which provides a cross-platform interface to high performance system
+calls.
diff --git a/ruby/rubygem-cool.io/rubygem-cool.io.SlackBuild b/ruby/rubygem-cool.io/rubygem-cool.io.SlackBuild
index 54022ccc7e..94f134058e 100644
--- a/ruby/rubygem-cool.io/rubygem-cool.io.SlackBuild
+++ b/ruby/rubygem-cool.io/rubygem-cool.io.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-cool.io
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-cool.io
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=cool.io
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-cool.io/rubygem-cool.io.info b/ruby/rubygem-cool.io/rubygem-cool.io.info
index a3a39fb975..2149620762 100644
--- a/ruby/rubygem-cool.io/rubygem-cool.io.info
+++ b/ruby/rubygem-cool.io/rubygem-cool.io.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-cool.io"
-VERSION="1.3.0"
+VERSION="1.7.1"
HOMEPAGE="https://coolio.github.io/"
-DOWNLOAD="https://rubygems.org/downloads/cool.io-1.3.0.gem"
-MD5SUM="a21b746ffe0e6de2ce36cccd7c80d967"
+DOWNLOAD="https://rubygems.org/downloads/cool.io-1.7.1.gem"
+MD5SUM="16165173de5bef68a7a074e052117470"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/rubygem-daemons/README b/ruby/rubygem-daemons/README
index bc090165ba..2b76fcaa49 100644
--- a/ruby/rubygem-daemons/README
+++ b/ruby/rubygem-daemons/README
@@ -1,7 +1,8 @@
-Daemons provides an easy way to wrap existing ruby scripts (for example a
-self-written server) to be run as a daemon and to be controlled by simple
-start/stop/restart commands. You can also call blocks as daemons and control
-them from the parent or just daemonize the current process. Besides this basic
-functionality, daemons offers many advanced features like exception
-backtracing and logging (in case your ruby script crashes) and monitoring and
-automatic restarting of your processes if they crash.
+Daemons provides an easy way to wrap existing ruby scripts (for
+example a self-written server) to be run as a daemon and to be
+controlled by simple start/stop/restart commands. You can also call
+blocks as daemons and control them from the parent or just daemonize
+the current process. Besides this basic functionality, daemons offers
+many advanced features like exception backtracing and logging (in case
+your ruby script crashes) and monitoring and automatic restarting of
+your processes if they crash.
diff --git a/ruby/rubygem-daemons/rubygem-daemons.SlackBuild b/ruby/rubygem-daemons/rubygem-daemons.SlackBuild
index c6e44b3066..542a8c0946 100644
--- a/ruby/rubygem-daemons/rubygem-daemons.SlackBuild
+++ b/ruby/rubygem-daemons/rubygem-daemons.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-daemons
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-daemons
VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=daemons
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-diff-lcs/README b/ruby/rubygem-diff-lcs/README
index 37422f7619..027315d6f6 100644
--- a/ruby/rubygem-diff-lcs/README
+++ b/ruby/rubygem-diff-lcs/README
@@ -1,3 +1,4 @@
-Diff::LCS computes the difference between two Enumerable sequences using the
-McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities
-to create a simple HTML diff output format and a standard diff-like tool.
+Diff::LCS computes the difference between two Enumerable sequences
+using the McIlroy-Hunt longest common subsequence (LCS) algorithm. It
+includes utilities to create a simple HTML diff output format and a
+standard diff-like tool.
diff --git a/ruby/rubygem-diff-lcs/rubygem-diff-lcs.SlackBuild b/ruby/rubygem-diff-lcs/rubygem-diff-lcs.SlackBuild
index b146a8ae93..c201e8a53f 100644
--- a/ruby/rubygem-diff-lcs/rubygem-diff-lcs.SlackBuild
+++ b/ruby/rubygem-diff-lcs/rubygem-diff-lcs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-diff-lcs
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-diff-lcs
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=diff-lcs
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-fastercsv/README b/ruby/rubygem-fastercsv/README
index 3d2e8a44ad..8124fb203e 100644
--- a/ruby/rubygem-fastercsv/README
+++ b/ruby/rubygem-fastercsv/README
@@ -1,3 +1,3 @@
-FasterCSV is intended as a complete replacement to the CSV standard library. It
-is significantly faster and smaller while still being pure Ruby code. It also
-strives for a better interface.
+FasterCSV is intended as a complete replacement to the CSV standard
+library. It is significantly faster and smaller while still being pure
+Ruby code. It also strives for a better interface.
diff --git a/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild b/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
index 89ef2e9b01..b9bc593685 100644
--- a/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
+++ b/ruby/rubygem-fastercsv/rubygem-fastercsv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fastercsv
# Copyright 2014 Lionel Young USA
# All rights reserved.
@@ -20,28 +20,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-fastercsv
VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=fastercsv
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-file-tail/README b/ruby/rubygem-file-tail/README
index 75eb8e5369..42e3461314 100644
--- a/ruby/rubygem-file-tail/README
+++ b/ruby/rubygem-file-tail/README
@@ -1,2 +1,3 @@
-This is a small ruby library that allows it to "tail" files in Ruby, including
-following a file, that still is growing like the unix command 'tail -f' can.
+This is a small ruby library that allows it to "tail" files in Ruby,
+including following a file, that still is growing like the unix
+command 'tail -f' can.
diff --git a/ruby/rubygem-file-tail/rubygem-file-tail.SlackBuild b/ruby/rubygem-file-tail/rubygem-file-tail.SlackBuild
index 9cac1576ab..f258ded265 100644
--- a/ruby/rubygem-file-tail/rubygem-file-tail.SlackBuild
+++ b/ruby/rubygem-file-tail/rubygem-file-tail.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-file-tail
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-file-tail
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=file-tail
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-fluentd/README b/ruby/rubygem-fluentd/README
index 5dc9295bca..c0b128825b 100644
--- a/ruby/rubygem-fluentd/README
+++ b/ruby/rubygem-fluentd/README
@@ -1,3 +1,3 @@
-Fluentd is an open source data collector for unified logging layer. Fluentd
-allows you to unify data collection and consumption for a better use and
-understanding of data.
+Fluentd is an open source data collector for unified logging
+layer. Fluentd allows you to unify data collection and consumption for
+a better use and understanding of data.
diff --git a/ruby/rubygem-fluentd/rubygem-fluentd.SlackBuild b/ruby/rubygem-fluentd/rubygem-fluentd.SlackBuild
index be655ec839..933bfba79a 100644
--- a/ruby/rubygem-fluentd/rubygem-fluentd.SlackBuild
+++ b/ruby/rubygem-fluentd/rubygem-fluentd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-fluentd
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-fluentd
VERSION=${VERSION:-0.12.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=fluentd
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gdk3/README b/ruby/rubygem-gdk3/README
new file mode 100644
index 0000000000..1a3c58f3bf
--- /dev/null
+++ b/ruby/rubygem-gdk3/README
@@ -0,0 +1 @@
+Ruby/GDK3 is a Ruby binding of GDK-3.x.
diff --git a/ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild b/ruby/rubygem-gdk3/rubygem-gdk3.SlackBuild
index 4a24e845bd..98439f153f 100644
--- a/ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild
+++ b/ruby/rubygem-gdk3/rubygem-gdk3.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for rubygem-ruumba
+# Slackware build script for gdk3
-# Copyright 2018-2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=rubygem-ruumba
-VERSION=${VERSION:-0.1.14}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-gdk3
+VERSION=${VERSION:-3.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=ruumba
+SRCNAM=gdk3
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,6 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
+# Get the full path of the ruby installation, for gems
DESTDIR=$( ruby -r rbconfig -e '
include RbConfig
printf("%s/%s/gems/%s\n",
@@ -71,6 +82,9 @@ printf("%s/%s/gems/%s\n",
)
')
+# print a friendly warning of unsatisfied ":runtime" dependencies
+# good to leave in place, even if the gem doesn't have any dependencies.
+# things could always change
gem specification $CWD/$SRCNAM-$VERSION.gem | \
ruby -r yaml -r rbconfig -e '
c = RbConfig::CONFIG
@@ -100,23 +114,17 @@ gem install \
--bindir $PKG/usr/bin \
$CWD/$SRCNAM-$VERSION.gem
-# Numeric.positive? was introduced in Ruby 2.3. Patch so ruumba works with Ruby 2.2.
-find $PKG/$DESTDIR -name parser.rb -exec sed -i 's/\.positive?/ > 0/' {} \;
-# remove frozen string literal and frozen string for Ruby 2.2.
-find $PKG/$DESTDIR -name parser.rb -exec sed -i '1d' {} \;
-find $PKG/$DESTDIR -name parser.rb -exec sed -i "s/+''/''/" {} \;
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- README.md
+ COPYING.LIB README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gdk3/rubygem-gdk3.info b/ruby/rubygem-gdk3/rubygem-gdk3.info
new file mode 100644
index 0000000000..ce45315fb3
--- /dev/null
+++ b/ruby/rubygem-gdk3/rubygem-gdk3.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-gdk3"
+VERSION="3.4.9"
+HOMEPAGE="https://rubygems.org/gems/gdk3"
+DOWNLOAD="https://rubygems.org/downloads/gdk3-3.4.9.gem"
+MD5SUM="cf0a8a0581b10199a4b9cc29ba4d17ff"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rubygem-pango rubygem-gdk_pixbuf2"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/ruby-faraday/slack-desc b/ruby/rubygem-gdk3/slack-desc
index 17294209a1..f6aa784c7e 100644
--- a/ruby/ruby-faraday/slack-desc
+++ b/ruby/rubygem-gdk3/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ruby-faraday: ruby-faraday (HTTP/REST API client library)
-ruby-faraday:
-ruby-faraday: HTTP/REST API client library.
-ruby-faraday:
-ruby-faraday: Home page: https://rubygems.org/gems/faraday/
-ruby-faraday:
-ruby-faraday:
-ruby-faraday:
-ruby-faraday:
-ruby-faraday:
-ruby-faraday:
+rubygem-gdk3: rubygem-gdk3 (Ruby binding of GDK-3.x)
+rubygem-gdk3:
+rubygem-gdk3: Ruby/GDK3 is a Ruby binding of GDK-3.x.
+rubygem-gdk3:
+rubygem-gdk3: https://rubygems.org/gems/gdk3
+rubygem-gdk3:
+rubygem-gdk3:
+rubygem-gdk3:
+rubygem-gdk3:
+rubygem-gdk3:
+rubygem-gdk3:
diff --git a/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.SlackBuild b/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.SlackBuild
index bda8980f03..7e30013f63 100644
--- a/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.SlackBuild
+++ b/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-gdk_pixbuf2
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-gdk_pixbuf2
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-3.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=gdk_pixbuf2
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,11 +120,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- README
+ COPYING.LIB README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.info b/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.info
index 283a46b0b9..04e4d4f6ab 100644
--- a/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.info
+++ b/ruby/rubygem-gdk_pixbuf2/rubygem-gdk_pixbuf2.info
@@ -1,10 +1,10 @@
PRGNAM="rubygem-gdk_pixbuf2"
-VERSION="2.2.5"
+VERSION="3.4.9"
HOMEPAGE="https://rubygems.org/gems/gdk_pixbuf2"
-DOWNLOAD="https://rubygems.org/downloads/gdk_pixbuf2-2.2.5.gem"
-MD5SUM="249f68c2cc45357467ca8d9da4f1690b"
+DOWNLOAD="https://rubygems.org/downloads/gdk_pixbuf2-3.4.9.gem"
+MD5SUM="39f3692daa387a9fdd1c508424fa8447"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="rubygem-glib2"
+REQUIRES="rubygem-gio2"
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/ruby/rubygem-gio2/README b/ruby/rubygem-gio2/README
new file mode 100644
index 0000000000..6d6a9e606f
--- /dev/null
+++ b/ruby/rubygem-gio2/README
@@ -0,0 +1,2 @@
+Ruby/GIO2 provide Ruby binding to a VFS API and useful APIs for
+desktop applications (such as networking and D-Bus support).
diff --git a/ruby/rubygem-gio2/rubygem-gio2.SlackBuild b/ruby/rubygem-gio2/rubygem-gio2.SlackBuild
new file mode 100644
index 0000000000..3f5edce03f
--- /dev/null
+++ b/ruby/rubygem-gio2/rubygem-gio2.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+# Slackware build script for gio2
+
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-gio2
+VERSION=${VERSION:-3.4.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=gio2
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+# Get the full path of the ruby installation, for gems
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+# print a friendly warning of unsatisfied ":runtime" dependencies
+# good to leave in place, even if the gem doesn't have any dependencies.
+# things could always change
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
+ COPYING.LIB README.md
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gio2/rubygem-gio2.info b/ruby/rubygem-gio2/rubygem-gio2.info
new file mode 100644
index 0000000000..eb3172fcbe
--- /dev/null
+++ b/ruby/rubygem-gio2/rubygem-gio2.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-gio2"
+VERSION="3.4.9"
+HOMEPAGE="https://rubygems.org/gems/gio2"
+DOWNLOAD="https://rubygems.org/downloads/gio2-3.4.9.gem"
+MD5SUM="117b8c335657ebad24e52061e5ede7d5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rubygem-gobject-introspection"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-gio2/slack-desc b/ruby/rubygem-gio2/slack-desc
new file mode 100644
index 0000000000..71e0400324
--- /dev/null
+++ b/ruby/rubygem-gio2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rubygem-gio2: rubygem-gio2 (VFS API Ruby bindings)
+rubygem-gio2:
+rubygem-gio2: Ruby/GIO2 provide Ruby binding to a VFS API and useful APIs for
+rubygem-gio2: desktop applications (such as networking and D-Bus support).
+rubygem-gio2:
+rubygem-gio2:
+rubygem-gio2: https://rubygems.org/gems/gio2
+rubygem-gio2:
+rubygem-gio2:
+rubygem-gio2:
+rubygem-gio2:
diff --git a/ruby/rubygem-glib2/rubygem-glib2.SlackBuild b/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
index fbe36c9342..e4084ed436 100644
--- a/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
+++ b/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-glib2
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-glib2
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-3.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=glib2
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,11 +120,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- README
+ COPYING.LIB README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-glib2/rubygem-glib2.info b/ruby/rubygem-glib2/rubygem-glib2.info
index 447f3f5b22..01753c893e 100644
--- a/ruby/rubygem-glib2/rubygem-glib2.info
+++ b/ruby/rubygem-glib2/rubygem-glib2.info
@@ -1,10 +1,10 @@
PRGNAM="rubygem-glib2"
-VERSION="2.2.5"
+VERSION="3.4.9"
HOMEPAGE="https://rubygems.org/gems/glib2"
-DOWNLOAD="https://rubygems.org/downloads/glib2-2.2.5.gem"
-MD5SUM="32325b63033c7efacb034de9112617e1"
+DOWNLOAD="https://rubygems.org/downloads/glib2-3.4.9.gem"
+MD5SUM="fa72308d2aecbdc02568cb9a2c313cbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="rubygem-pkg-config"
+REQUIRES="rubygem-pkg-config rubygem-native-package-installer"
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/ruby/rubygem-gobject-introspection/README b/ruby/rubygem-gobject-introspection/README
new file mode 100644
index 0000000000..143765b246
--- /dev/null
+++ b/ruby/rubygem-gobject-introspection/README
@@ -0,0 +1,3 @@
+Ruby/GObjectIntrospection provides bindings of GObject Introspection
+and a loader module that can generate dynamically Ruby bindings of
+any GObject C libraries.
diff --git a/ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.SlackBuild b/ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.SlackBuild
new file mode 100644
index 0000000000..8f976d8b90
--- /dev/null
+++ b/ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+# Slackware build script for gobject-introspection
+
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-gobject-introspection
+VERSION=${VERSION:-3.4.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=gobject-introspection
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+# Get the full path of the ruby installation, for gems
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+# print a friendly warning of unsatisfied ":runtime" dependencies
+# good to leave in place, even if the gem doesn't have any dependencies.
+# things could always change
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
+ COPYING.LIB README.md
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.info b/ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.info
new file mode 100644
index 0000000000..4e21e44dee
--- /dev/null
+++ b/ruby/rubygem-gobject-introspection/rubygem-gobject-introspection.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-gobject-introspection"
+VERSION="3.4.9"
+HOMEPAGE="https://rubygems.org/gems/gobject-introspection"
+DOWNLOAD="https://rubygems.org/downloads/gobject-introspection-3.4.9.gem"
+MD5SUM="0685c8d02ee00c3aae3554dc776f96fe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rubygem-glib2"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-gobject-introspection/slack-desc b/ruby/rubygem-gobject-introspection/slack-desc
new file mode 100644
index 0000000000..8e061f52e8
--- /dev/null
+++ b/ruby/rubygem-gobject-introspection/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rubygem-gobject-introspection: rubygem-gobject-introspection (gobject-introspection Ruby binding)
+rubygem-gobject-introspection:
+rubygem-gobject-introspection: Ruby/GObjectIntrospection provides bindings of GObject Introspection
+rubygem-gobject-introspection: and a loader module that can generate dynamically Ruby bindings of
+rubygem-gobject-introspection: any GObject C libraries
+rubygem-gobject-introspection:
+rubygem-gobject-introspection: https://rubygems.org/gems/gobject-introspection
+rubygem-gobject-introspection:
+rubygem-gobject-introspection:
+rubygem-gobject-introspection:
+rubygem-gobject-introspection:
diff --git a/ruby/rubygem-gosu/rubygem-gosu.SlackBuild b/ruby/rubygem-gosu/rubygem-gosu.SlackBuild
index ac8c5ad5b3..8f92f88ffb 100644
--- a/ruby/rubygem-gosu/rubygem-gosu.SlackBuild
+++ b/ruby/rubygem-gosu/rubygem-gosu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-gosu
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-gosu
-VERSION=${VERSION:-0.12.0}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=gosu
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gosu/rubygem-gosu.info b/ruby/rubygem-gosu/rubygem-gosu.info
index 5986164300..019980812f 100644
--- a/ruby/rubygem-gosu/rubygem-gosu.info
+++ b/ruby/rubygem-gosu/rubygem-gosu.info
@@ -1,10 +1,10 @@
PRGNAM="rubygem-gosu"
-VERSION="0.12.0"
+VERSION="1.2.0"
HOMEPAGE="https://www.libgosu.org/"
-DOWNLOAD="https://rubygems.org/downloads/gosu-0.12.0.gem"
-MD5SUM="184a744965112d64978f516c8e02c015"
+DOWNLOAD="https://rubygems.org/downloads/gosu-1.2.0.gem"
+MD5SUM="50af6676e0b3a95ac7770a9c7f3e273f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SDL2_ttf OpenAL FreeImage"
+REQUIRES="FreeImage"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/ruby/rubygem-gtk2/README b/ruby/rubygem-gtk2/README
index eca3c157a3..65eb43674c 100644
--- a/ruby/rubygem-gtk2/README
+++ b/ruby/rubygem-gtk2/README
@@ -1,4 +1 @@
Ruby/GTK2 is a Ruby binding of GTK+-2.x.
-
-This is for Slackware 14.1. Users of Slackware 13.0 to 14.0 can use the
-ruby-gtk2 SlackBuild, which SlackBuilds.org has available for those versions.
diff --git a/ruby/rubygem-gtk2/rubygem-gtk2.SlackBuild b/ruby/rubygem-gtk2/rubygem-gtk2.SlackBuild
index 4cd86cf2c9..b7bc84407a 100644
--- a/ruby/rubygem-gtk2/rubygem-gtk2.SlackBuild
+++ b/ruby/rubygem-gtk2/rubygem-gtk2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-gtk2
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-gtk2
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-3.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=gtk2
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,7 +120,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- README
+ COPYING.LIB README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -118,4 +128,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gtk2/rubygem-gtk2.info b/ruby/rubygem-gtk2/rubygem-gtk2.info
index f12a8e79f9..7a662b549e 100644
--- a/ruby/rubygem-gtk2/rubygem-gtk2.info
+++ b/ruby/rubygem-gtk2/rubygem-gtk2.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-gtk2"
-VERSION="2.2.5"
+VERSION="3.4.3"
HOMEPAGE="https://rubygems.org/gems/gtk2"
-DOWNLOAD="https://rubygems.org/downloads/gtk2-2.2.5.gem"
-MD5SUM="a1788107985c705dfd9fd0883aa67f92"
+DOWNLOAD="https://rubygems.org/downloads/gtk2-3.4.3.gem"
+MD5SUM="aadc68720ad4ac8e31009372fcca930a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-atk rubygem-gdk_pixbuf2 rubygem-pango"
diff --git a/ruby/rubygem-gtk3/README b/ruby/rubygem-gtk3/README
new file mode 100644
index 0000000000..3e5a7234b7
--- /dev/null
+++ b/ruby/rubygem-gtk3/README
@@ -0,0 +1 @@
+Ruby/GTK3 is a Ruby binding of GTK+-3.x.
diff --git a/ruby/rubygem-gtk3/rubygem-gtk3.SlackBuild b/ruby/rubygem-gtk3/rubygem-gtk3.SlackBuild
new file mode 100644
index 0000000000..a8ef3b59b0
--- /dev/null
+++ b/ruby/rubygem-gtk3/rubygem-gtk3.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+# Slackware build script for gtk3
+
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-gtk3
+VERSION=${VERSION:-3.4.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=gtk3
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+# Get the full path of the ruby installation, for gems
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+# print a friendly warning of unsatisfied ":runtime" dependencies
+# good to leave in place, even if the gem doesn't have any dependencies.
+# things could always change
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
+ COPYING.LIB README.md
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-gtk3/rubygem-gtk3.info b/ruby/rubygem-gtk3/rubygem-gtk3.info
new file mode 100644
index 0000000000..8fe11e7e5a
--- /dev/null
+++ b/ruby/rubygem-gtk3/rubygem-gtk3.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-gtk3"
+VERSION="3.4.9"
+HOMEPAGE="https://rubygems.org/gems/gtk3"
+DOWNLOAD="https://rubygems.org/downloads/gtk3-3.4.9.gem"
+MD5SUM="4120afca53c9e9241450925de45cda2e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rubygem-atk rubygem-gdk3"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-gtk3/slack-desc b/ruby/rubygem-gtk3/slack-desc
new file mode 100644
index 0000000000..cf25cf8838
--- /dev/null
+++ b/ruby/rubygem-gtk3/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rubygem-gtk3: rubygem-gtk3 (Ruby binding of GTK-3.x)
+rubygem-gtk3:
+rubygem-gtk3: Ruby/GTK3 is a Ruby binding of GTK-3.x.
+rubygem-gtk3:
+rubygem-gtk3: https://rubygems.org/gems/gtk3
+rubygem-gtk3:
+rubygem-gtk3:
+rubygem-gtk3:
+rubygem-gtk3:
+rubygem-gtk3:
+rubygem-gtk3:
diff --git a/ruby/rubygem-highline/README b/ruby/rubygem-highline/README
index 80d41db180..d8d2628099 100644
--- a/ruby/rubygem-highline/README
+++ b/ruby/rubygem-highline/README
@@ -1,4 +1,4 @@
-highline is a high-level IO library that provides validation, type conversion,
-and more for command-line interfaces. HighLine also includes a complete menu
-system that can crank out anything from simple list selection to complete
-shells with just minutes of work.
+highline is a high-level IO library that provides validation, type
+conversion, and more for command-line interfaces. HighLine also
+includes a complete menu system that can crank out anything from
+simple list selection to complete shells with just minutes of work.
diff --git a/ruby/rubygem-highline/rubygem-highline.SlackBuild b/ruby/rubygem-highline/rubygem-highline.SlackBuild
index 394106eb96..66a3e426d1 100644
--- a/ruby/rubygem-highline/rubygem-highline.SlackBuild
+++ b/ruby/rubygem-highline/rubygem-highline.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for highline
# Copyright 2014 Lionel Young USA
# All rights reserved.
@@ -20,28 +20,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-highline
VERSION=${VERSION:-1.6.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=highline
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-hpricot/rubygem-hpricot.SlackBuild b/ruby/rubygem-hpricot/rubygem-hpricot.SlackBuild
index 8dab17e247..9da6fb92ea 100644
--- a/ruby/rubygem-hpricot/rubygem-hpricot.SlackBuild
+++ b/ruby/rubygem-hpricot/rubygem-hpricot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-hpricot
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-hpricot
VERSION=${VERSION:-0.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=hpricot
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-http_parser.rb/README b/ruby/rubygem-http_parser.rb/README
index 5dc9295bca..c0b128825b 100644
--- a/ruby/rubygem-http_parser.rb/README
+++ b/ruby/rubygem-http_parser.rb/README
@@ -1,3 +1,3 @@
-Fluentd is an open source data collector for unified logging layer. Fluentd
-allows you to unify data collection and consumption for a better use and
-understanding of data.
+Fluentd is an open source data collector for unified logging
+layer. Fluentd allows you to unify data collection and consumption for
+a better use and understanding of data.
diff --git a/ruby/rubygem-http_parser.rb/rubygem-http_parser.rb.SlackBuild b/ruby/rubygem-http_parser.rb/rubygem-http_parser.rb.SlackBuild
index 5446ad22bd..bf02440130 100644
--- a/ruby/rubygem-http_parser.rb/rubygem-http_parser.rb.SlackBuild
+++ b/ruby/rubygem-http_parser.rb/rubygem-http_parser.rb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-http_parser.rb
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-http_parser.rb
VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=http_parser.rb
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-httparty/rubygem-httparty.SlackBuild b/ruby/rubygem-httparty/rubygem-httparty.SlackBuild
index d8cb6c0a56..fa6e2e5422 100644
--- a/ruby/rubygem-httparty/rubygem-httparty.SlackBuild
+++ b/ruby/rubygem-httparty/rubygem-httparty.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-httparty
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-httparty
VERSION=${VERSION:-0.15.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=httparty
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-i18n/rubygem-i18n.SlackBuild b/ruby/rubygem-i18n/rubygem-i18n.SlackBuild
index daaca0d5d8..755d317a5a 100644
--- a/ruby/rubygem-i18n/rubygem-i18n.SlackBuild
+++ b/ruby/rubygem-i18n/rubygem-i18n.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-i18n
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-i18n
VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=i18n
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-jaro_winkler/README b/ruby/rubygem-jaro_winkler/README
deleted file mode 100644
index 8525620875..0000000000
--- a/ruby/rubygem-jaro_winkler/README
+++ /dev/null
@@ -1,2 +0,0 @@
-rubygem-jaro_winkler - Ruby & C implementation of Jaro-Winkler distance
-algorithm which supports UTF-8 strings.
diff --git a/ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.SlackBuild b/ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.SlackBuild
deleted file mode 100644
index 932c7e51a0..0000000000
--- a/ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for rubygem-jaro_winkler
-
-# Copyright 2018-2019 Andrew Clemons, Wellington New Zealand
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=rubygem-jaro_winkler
-VERSION=${VERSION:-1.5.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=jaro_winkler
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.info b/ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.info
deleted file mode 100644
index 0a41b67f3d..0000000000
--- a/ruby/rubygem-jaro_winkler/rubygem-jaro_winkler.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-jaro_winkler"
-VERSION="1.5.4"
-HOMEPAGE="https://github.com/tonytonyjan/jaro_winkler"
-DOWNLOAD="https://rubygems.org/downloads/jaro_winkler-1.5.4.gem"
-MD5SUM="41d7befdb145e0dfb74fee4d39cb3e5c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-jaro_winkler/slack-desc b/ruby/rubygem-jaro_winkler/slack-desc
deleted file mode 100644
index 9e9d727e96..0000000000
--- a/ruby/rubygem-jaro_winkler/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-jaro_winkler: rubygem-jaro_winkler (Ruby & C impl of Jaro-Winkler distance alg)
-rubygem-jaro_winkler:
-rubygem-jaro_winkler: jaro_winkler is an implementation of Jaro-Winkler distance algorithm
-rubygem-jaro_winkler: which is written in C extension and will fallback to pure Ruby version
-rubygem-jaro_winkler: in platforms other than MRI/KRI like JRuby or Rubinius.
-rubygem-jaro_winkler:
-rubygem-jaro_winkler: https://github.com/tonytonyjan/jaro_winkler
-rubygem-jaro_winkler:
-rubygem-jaro_winkler:
-rubygem-jaro_winkler:
-rubygem-jaro_winkler:
diff --git a/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild b/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild
index 34a05142ab..d14133b8d3 100644
--- a/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild
+++ b/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-lolcat
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-lolcat
VERSION=${VERSION:-99.9.20}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=lolcat
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,6 +110,9 @@ gem install \
--bindir $PKG/usr/bin \
$CWD/$SRCNAM-$VERSION.gem
+# remove empty /usr/share/man directory
+rm -rf $PKG/usr/share
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -113,4 +126,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-mail/rubygem-mail.SlackBuild b/ruby/rubygem-mail/rubygem-mail.SlackBuild
index 0dee0b5edb..6b695fd12a 100644
--- a/ruby/rubygem-mail/rubygem-mail.SlackBuild
+++ b/ruby/rubygem-mail/rubygem-mail.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-mail
-# Copyright 2017-2020 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017-2020 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-mail
VERSION=${VERSION:-2.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=mail
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-mail/rubygem-mail.info b/ruby/rubygem-mail/rubygem-mail.info
index 2b6739fac7..214967aad8 100644
--- a/ruby/rubygem-mail/rubygem-mail.info
+++ b/ruby/rubygem-mail/rubygem-mail.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-mini_mime"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-manpages/README b/ruby/rubygem-manpages/README
index 3755f0d525..9f7342d345 100644
--- a/ruby/rubygem-manpages/README
+++ b/ruby/rubygem-manpages/README
@@ -1,3 +1,3 @@
-This plugin will add man pages support to ruby gems. Instead of adding a new
-command like gem-man it will try to link the files to a place the man command
-automatically discovers.
+This plugin will add man pages support to ruby gems. Instead of adding
+a new command like gem-man it will try to link the files to a place
+the man command automatically discovers.
diff --git a/ruby/rubygem-manpages/rubygem-manpages.SlackBuild b/ruby/rubygem-manpages/rubygem-manpages.SlackBuild
index 69859c04da..2760b75f7a 100644
--- a/ruby/rubygem-manpages/rubygem-manpages.SlackBuild
+++ b/ruby/rubygem-manpages/rubygem-manpages.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-manpages
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-manpages
VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=manpages
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-matrix/README b/ruby/rubygem-matrix/README
new file mode 100644
index 0000000000..82b8bbd49b
--- /dev/null
+++ b/ruby/rubygem-matrix/README
@@ -0,0 +1 @@
+An implementation of Matrix and Vector classes.
diff --git a/ruby/rubygem-powerpack/rubygem-powerpack.SlackBuild b/ruby/rubygem-matrix/rubygem-matrix.SlackBuild
index 6e83bc6867..dc657bbc15 100644
--- a/ruby/rubygem-powerpack/rubygem-powerpack.SlackBuild
+++ b/ruby/rubygem-matrix/rubygem-matrix.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for rubygem-powerpack
+# Slackware build script for rubygem-matrix
-# Copyright 2018 Andrew Clemons, Wellington New Zealand
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=rubygem-powerpack
-VERSION=${VERSION:-0.1.2}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-matrix
+VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=powerpack
+SRCNAM=matrix
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -103,14 +110,16 @@ gem install \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+rm -rf $PKG/$DESTDIR/cache
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- CHANGELOG.md LICENSE.txt README.md
+ LICENSE.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-matrix/rubygem-matrix.info b/ruby/rubygem-matrix/rubygem-matrix.info
new file mode 100644
index 0000000000..277d64ded0
--- /dev/null
+++ b/ruby/rubygem-matrix/rubygem-matrix.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-matrix"
+VERSION="0.4.2"
+HOMEPAGE="https://rubygems.org/gems/matrix"
+DOWNLOAD="https://rubygems.org/downloads/matrix-0.4.2.gem"
+MD5SUM="234f5bc1e5b9483a0076d49c8518bf25"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-ruumba/slack-desc b/ruby/rubygem-matrix/slack-desc
index c45e0424ae..87241f9e0e 100644
--- a/ruby/rubygem-ruumba/slack-desc
+++ b/ruby/rubygem-matrix/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-rubygem-ruumba: rubygem-ruumba (RuboCop linting for ERB templates)
-rubygem-ruumba:
-rubygem-ruumba: Ruumba is RuboCop's sidekick, allowing you to lint your .erb Rubies
-rubygem-ruumba: as well as your regular-type ones.
-rubygem-ruumba:
-rubygem-ruumba: https://github.com/ericqweinstein/ruumba
-rubygem-ruumba:
-rubygem-ruumba:
-rubygem-ruumba:
-rubygem-ruumba:
-rubygem-ruumba:
+rubygem-matrix: rubygem-matrix (Matrix and Vector classes implementations.)
+rubygem-matrix:
+rubygem-matrix: An implementation of Matrix and Vector classes.
+rubygem-matrix:
+rubygem-matrix: https://rubygems.org/gems/matrix
+rubygem-matrix:
+rubygem-matrix:
+rubygem-matrix:
+rubygem-matrix:
+rubygem-matrix:
+rubygem-matrix:
diff --git a/ruby/rubygem-method_source/rubygem-method_source.SlackBuild b/ruby/rubygem-method_source/rubygem-method_source.SlackBuild
index f7c9d5b4a0..0320ab944c 100644
--- a/ruby/rubygem-method_source/rubygem-method_source.SlackBuild
+++ b/ruby/rubygem-method_source/rubygem-method_source.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-method_source
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-method_source
VERSION=${VERSION:-0.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=method_source
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-mime-types-data/rubygem-mime-types-data.SlackBuild b/ruby/rubygem-mime-types-data/rubygem-mime-types-data.SlackBuild
index 1822b4ca08..0a333502e3 100644
--- a/ruby/rubygem-mime-types-data/rubygem-mime-types-data.SlackBuild
+++ b/ruby/rubygem-mime-types-data/rubygem-mime-types-data.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-mime-types-data
-# Copyright 2017-2019 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017-2020 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-mime-types-data
-VERSION=${VERSION:-3.2019.0904}
+VERSION=${VERSION:-3.2020.0425}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=mime-types-data
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-mime-types-data/rubygem-mime-types-data.info b/ruby/rubygem-mime-types-data/rubygem-mime-types-data.info
index 440f4b6be5..bced4512b3 100644
--- a/ruby/rubygem-mime-types-data/rubygem-mime-types-data.info
+++ b/ruby/rubygem-mime-types-data/rubygem-mime-types-data.info
@@ -1,10 +1,10 @@
PRGNAM="rubygem-mime-types-data"
-VERSION="3.2019.0904"
+VERSION="3.2020.0425"
HOMEPAGE="https://github.com/mime-types/mime-types-data/"
-DOWNLOAD="https://rubygems.org/downloads/mime-types-data-3.2019.0904.gem"
-MD5SUM="e4a08a2fa91253d66fe2ca486be8b8fc"
+DOWNLOAD="https://rubygems.org/downloads/mime-types-data-3.2020.0425.gem"
+MD5SUM="a88a5ae4a12153f248e33e3f8867e61e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild b/ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild
index ef3e340cf2..f688c1bf71 100644
--- a/ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild
+++ b/ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-mime-types
-# Copyright 2017-2019 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017-2019 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-mime-types
VERSION=${VERSION:-3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=mime-types
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-mime-types/rubygem-mime-types.info b/ruby/rubygem-mime-types/rubygem-mime-types.info
index 08ef1836c9..f24a255d30 100644
--- a/ruby/rubygem-mime-types/rubygem-mime-types.info
+++ b/ruby/rubygem-mime-types/rubygem-mime-types.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-mime-types-data"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-mini_mime/rubygem-mini_mime.SlackBuild b/ruby/rubygem-mini_mime/rubygem-mini_mime.SlackBuild
index afc22bf11c..7ac240e111 100644
--- a/ruby/rubygem-mini_mime/rubygem-mini_mime.SlackBuild
+++ b/ruby/rubygem-mini_mime/rubygem-mini_mime.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-mini_mime
-# Copyright 2020 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2020 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-mini_mime
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=mini_mime
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-mini_mime/rubygem-mini_mime.info b/ruby/rubygem-mini_mime/rubygem-mini_mime.info
index b97f9a8c0c..be61633141 100644
--- a/ruby/rubygem-mini_mime/rubygem-mini_mime.info
+++ b/ruby/rubygem-mini_mime/rubygem-mini_mime.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-mini_mime/slack-desc b/ruby/rubygem-mini_mime/slack-desc
index 0bda4f0b87..9ead0a9e92 100644
--- a/ruby/rubygem-mini_mime/slack-desc
+++ b/ruby/rubygem-mini_mime/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
rubygem-mini_mime: rubygem-mini_mime (A lightweight mime type lookup toy)
rubygem-mini_mime:
-rubygem-mini_mime:
+rubygem-mini_mime:
rubygem-mini_mime: https://github.com/discourse/mini_mime
rubygem-mini_mime:
rubygem-mini_mime:
diff --git a/ruby/rubygem-msgpack/README b/ruby/rubygem-msgpack/README
index 9bb3b18347..e56f0e6306 100644
--- a/ruby/rubygem-msgpack/README
+++ b/ruby/rubygem-msgpack/README
@@ -1,3 +1,3 @@
-MessagePack is a binary-based efficient object serialization library. It
-enables to exchange structured objects between many languages like JSON. But
-unlike JSON, it is very fast and small.
+MessagePack is a binary-based efficient object serialization
+library. It enables to exchange structured objects between many
+languages like JSON. But unlike JSON, it is very fast and small.
diff --git a/ruby/rubygem-msgpack/rubygem-msgpack.SlackBuild b/ruby/rubygem-msgpack/rubygem-msgpack.SlackBuild
index b8d3ab7867..76f337b803 100644
--- a/ruby/rubygem-msgpack/rubygem-msgpack.SlackBuild
+++ b/ruby/rubygem-msgpack/rubygem-msgpack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-msgpack
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-msgpack
-VERSION=${VERSION:-0.5.11}
+VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=msgpack
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-msgpack/rubygem-msgpack.info b/ruby/rubygem-msgpack/rubygem-msgpack.info
index 392041e9ab..f9c9dac5dd 100644
--- a/ruby/rubygem-msgpack/rubygem-msgpack.info
+++ b/ruby/rubygem-msgpack/rubygem-msgpack.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-msgpack"
-VERSION="0.5.11"
+VERSION="1.4.2"
HOMEPAGE="https://msgpack.org/"
-DOWNLOAD="https://rubygems.org/downloads/msgpack-0.5.11.gem"
-MD5SUM="7289b86b6fabf77809d89721a515688a"
+DOWNLOAD="https://rubygems.org/downloads/msgpack-1.4.2.gem"
+MD5SUM="4bffea317387a580386fa551b7711b58"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/rubygem-multi_json/rubygem-multi_json.SlackBuild b/ruby/rubygem-multi_json/rubygem-multi_json.SlackBuild
index 871556c363..b1f68fe48d 100644
--- a/ruby/rubygem-multi_json/rubygem-multi_json.SlackBuild
+++ b/ruby/rubygem-multi_json/rubygem-multi_json.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-multi_json
-# Copyright 2017-2019 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017-2019 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-multi_json
VERSION=${VERSION:-1.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=multi_json
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-multi_json/rubygem-multi_json.info b/ruby/rubygem-multi_json/rubygem-multi_json.info
index e932d04d7e..cd968bdf86 100644
--- a/ruby/rubygem-multi_json/rubygem-multi_json.info
+++ b/ruby/rubygem-multi_json/rubygem-multi_json.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-multi_xml/rubygem-multi_xml.SlackBuild b/ruby/rubygem-multi_xml/rubygem-multi_xml.SlackBuild
index f0970af6ed..a32448db08 100644
--- a/ruby/rubygem-multi_xml/rubygem-multi_xml.SlackBuild
+++ b/ruby/rubygem-multi_xml/rubygem-multi_xml.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-multi_xml
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-multi_xml
VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=multi_xml
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-mustache/README b/ruby/rubygem-mustache/README
index af59943c5b..4cdbc31e70 100644
--- a/ruby/rubygem-mustache/README
+++ b/ruby/rubygem-mustache/README
@@ -1,3 +1,3 @@
-Mustache is a framework-agnostic way to render logic-free views. It emphasizes
-separating logic from presentation: it is impossible to embed application logic
-in this template language.
+Mustache is a framework-agnostic way to render logic-free views.
+It emphasizes separating logic from presentation: it is impossible to
+embed application logic in this template language.
diff --git a/ruby/rubygem-mustache/rubygem-mustache.SlackBuild b/ruby/rubygem-mustache/rubygem-mustache.SlackBuild
index bfb62f5002..6baab2b2ea 100644
--- a/ruby/rubygem-mustache/rubygem-mustache.SlackBuild
+++ b/ruby/rubygem-mustache/rubygem-mustache.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-mustache
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-mustache
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=mustache
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -121,4 +131,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-native-package-installer/README b/ruby/rubygem-native-package-installer/README
new file mode 100644
index 0000000000..07205b9c47
--- /dev/null
+++ b/ruby/rubygem-native-package-installer/README
@@ -0,0 +1 @@
+A helper to install native packages on "gem install".
diff --git a/ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild b/ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild
new file mode 100644
index 0000000000..2a57f20920
--- /dev/null
+++ b/ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for rubygem-native-package-installer
+
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2024 Andrew Clemons, Tokyo, Japan
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-native-package-installer
+VERSION=${VERSION:-1.1.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=native-package-installer
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+rm -rf $PKG/$DESTDIR/cache
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- --no-same-owner \
+ README.md
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-native-package-installer/rubygem-native-package-installer.info b/ruby/rubygem-native-package-installer/rubygem-native-package-installer.info
new file mode 100644
index 0000000000..755eb4a71d
--- /dev/null
+++ b/ruby/rubygem-native-package-installer/rubygem-native-package-installer.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-native-package-installer"
+VERSION="1.1.9"
+HOMEPAGE="https://github.com/ruby-gnome/native-package-installer"
+DOWNLOAD="https://rubygems.org/downloads/native-package-installer-1.1.9.gem"
+MD5SUM="a1c9aa2c6db5488aac21ce6cb7a75a90"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-native-package-installer/slack-desc b/ruby/rubygem-native-package-installer/slack-desc
new file mode 100644
index 0000000000..175f1c18c9
--- /dev/null
+++ b/ruby/rubygem-native-package-installer/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rubygem-native-package-installer: rubygem-native-package-installer (native pkg helper)
+rubygem-native-package-installer:
+rubygem-native-package-installer: Users need to install native packages to install an extension library
+rubygem-native-package-installer: that depends on native packages. It bores users because users need
+rubygem-native-package-installer: to install native packages and an extension library separately.
+rubygem-native-package-installer: native-package-installer helps to install native packages on
+rubygem-native-package-installer: "gem install". Users can install both native packages and an
+rubygem-native-package-installer: extension library by one action, "gem install".
+rubygem-native-package-installer:
+rubygem-native-package-installer: https://github.com/ruby-gnome/native-package-installer
+rubygem-native-package-installer:
diff --git a/ruby/rubygem-net-scp/rubygem-net-scp.SlackBuild b/ruby/rubygem-net-scp/rubygem-net-scp.SlackBuild
index 1d79417817..5cdace0903 100644
--- a/ruby/rubygem-net-scp/rubygem-net-scp.SlackBuild
+++ b/ruby/rubygem-net-scp/rubygem-net-scp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-net-scp
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-net-scp
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=net-scp
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-net-sftp/rubygem-net-sftp.SlackBuild b/ruby/rubygem-net-sftp/rubygem-net-sftp.SlackBuild
index dc4dd3b0e5..80850118a3 100644
--- a/ruby/rubygem-net-sftp/rubygem-net-sftp.SlackBuild
+++ b/ruby/rubygem-net-sftp/rubygem-net-sftp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-net-sftp
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-net-sftp
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=net-sftp
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-net-ssh/README b/ruby/rubygem-net-ssh/README
index 0ee1eaefc9..d4e34aa6b6 100644
--- a/ruby/rubygem-net-ssh/README
+++ b/ruby/rubygem-net-ssh/README
@@ -1,3 +1,3 @@
-Net::SSH: a pure-Ruby implementation of the SSH2 client protocol. It allows
-you to write programs that invoke and interact with processes on remote
-servers, via SSH2.
+Net::SSH: a pure-Ruby implementation of the SSH2 client protocol. It
+allows you to write programs that invoke and interact with processes
+on remote servers, via SSH2.
diff --git a/ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild b/ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild
index be254fb768..d36c79e05c 100644
--- a/ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild
+++ b/ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-net-ssh
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-net-ssh
VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=net-ssh
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-optimist/README b/ruby/rubygem-optimist/README
index 8af9d6e03b..b6ec0d9d07 100644
--- a/ruby/rubygem-optimist/README
+++ b/ruby/rubygem-optimist/README
@@ -1,4 +1,4 @@
-Optimist is a commandline option parser for Ruby that just gets out of your
-way. One line of code per option is all you need to write. For that, you get a
-nice automatically-generated help page, robust option parsing, and sensible
-defaults for everything you don't specify.
+Optimist is a commandline option parser for Ruby that just gets out
+of your way. One line of code per option is all you need to write. For
+that, you get a nice automatically-generated help page, robust option
+parsing, and sensible defaults for everything you don't specify.
diff --git a/ruby/rubygem-optimist/rubygem-optimist.SlackBuild b/ruby/rubygem-optimist/rubygem-optimist.SlackBuild
index 8d1efd65f8..f50038e40e 100644
--- a/ruby/rubygem-optimist/rubygem-optimist.SlackBuild
+++ b/ruby/rubygem-optimist/rubygem-optimist.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-optimist
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-optimist
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=optimist
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-paint/rubygem-paint.SlackBuild b/ruby/rubygem-paint/rubygem-paint.SlackBuild
index 44822e01ce..c983c4c871 100644
--- a/ruby/rubygem-paint/rubygem-paint.SlackBuild
+++ b/ruby/rubygem-paint/rubygem-paint.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-paint
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-paint
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=paint
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-pango/rubygem-pango.SlackBuild b/ruby/rubygem-pango/rubygem-pango.SlackBuild
index d95941cf28..04e242fd9a 100644
--- a/ruby/rubygem-pango/rubygem-pango.SlackBuild
+++ b/ruby/rubygem-pango/rubygem-pango.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-pango
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-pango
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-3.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=pango
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,7 +120,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- README
+ COPYING.LIB README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -118,4 +128,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-pango/rubygem-pango.info b/ruby/rubygem-pango/rubygem-pango.info
index 3a382b98c8..e2a9a34601 100644
--- a/ruby/rubygem-pango/rubygem-pango.info
+++ b/ruby/rubygem-pango/rubygem-pango.info
@@ -1,10 +1,10 @@
PRGNAM="rubygem-pango"
-VERSION="2.2.5"
+VERSION="3.4.9"
HOMEPAGE="https://rubygems.org/gems/pango"
-DOWNLOAD="https://rubygems.org/downloads/pango-2.2.5.gem"
-MD5SUM="03c74301d85a901afc776978fb342a0c"
+DOWNLOAD="https://rubygems.org/downloads/pango-3.4.9.gem"
+MD5SUM="d35cf4e16e737a05d973221f4dbc71e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="rubygem-cairo rubygem-glib2"
+REQUIRES="rubygem-cairo-gobject rubygem-gobject-introspection"
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/ruby/rubygem-parallel/rubygem-parallel.SlackBuild b/ruby/rubygem-parallel/rubygem-parallel.SlackBuild
index 446ce96a05..ece6a312cc 100644
--- a/ruby/rubygem-parallel/rubygem-parallel.SlackBuild
+++ b/ruby/rubygem-parallel/rubygem-parallel.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-parallel
-# Copyright 2018-2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2018-2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2024 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-parallel
-VERSION=${VERSION:-1.19.1}
+VERSION=${VERSION:-1.24.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=parallel
@@ -37,25 +41,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -105,7 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
- | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- --no-same-owner \
MIT-LICENSE.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -113,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-parallel/rubygem-parallel.info b/ruby/rubygem-parallel/rubygem-parallel.info
index 929dcc73ea..d298d6f430 100644
--- a/ruby/rubygem-parallel/rubygem-parallel.info
+++ b/ruby/rubygem-parallel/rubygem-parallel.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-parallel"
-VERSION="1.19.1"
+VERSION="1.24.0"
HOMEPAGE="https://github.com/grosser/parallel"
-DOWNLOAD="https://rubygems.org/downloads/parallel-1.19.1.gem"
-MD5SUM="ff0c8f17b5157648104052a2fa1304f3"
+DOWNLOAD="https://rubygems.org/downloads/parallel-1.24.0.gem"
+MD5SUM="92098507dc6a85dba1b7b51b753c80ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/rubygem-parser/rubygem-parser.SlackBuild b/ruby/rubygem-parser/rubygem-parser.SlackBuild
index d3e9a92473..4c50487761 100644
--- a/ruby/rubygem-parser/rubygem-parser.SlackBuild
+++ b/ruby/rubygem-parser/rubygem-parser.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-parser
-# Copyright 2018-2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2018-2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2024 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-parser
-VERSION=${VERSION:-2.7.0.5}
+VERSION=${VERSION:-3.2.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=parser
@@ -37,25 +41,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -105,12 +99,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
- | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- CHANGELOG.md CONTRIBUTING.md LICENSE.txt README.md
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- --no-same-owner \
+ LICENSE.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-parser/rubygem-parser.info b/ruby/rubygem-parser/rubygem-parser.info
index 9b50af55b6..c33fc386aa 100644
--- a/ruby/rubygem-parser/rubygem-parser.info
+++ b/ruby/rubygem-parser/rubygem-parser.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-parser"
-VERSION="2.7.0.5"
+VERSION="3.2.2.4"
HOMEPAGE="https://github.com/whitequark/parser"
-DOWNLOAD="https://rubygems.org/downloads/parser-2.7.0.5.gem"
-MD5SUM="b20330b6d62e4f99f5b2d8896807852b"
+DOWNLOAD="https://rubygems.org/downloads/parser-3.2.2.4.gem"
+MD5SUM="50b812e026dfa653609ca61181f79209"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-ast"
diff --git a/ruby/rubygem-pkg-config/rubygem-pkg-config.SlackBuild b/ruby/rubygem-pkg-config/rubygem-pkg-config.SlackBuild
index 19e35c6b71..5e73d9cb21 100644
--- a/ruby/rubygem-pkg-config/rubygem-pkg-config.SlackBuild
+++ b/ruby/rubygem-pkg-config/rubygem-pkg-config.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-pkg-config
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-pkg-config
-VERSION=${VERSION:-1.1.6}
+VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=pkg-config
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,19 +86,20 @@ gem specification $CWD/$SRCNAM-$VERSION.gem | \
ruby -r yaml -r rbconfig -e '
c = RbConfig::CONFIG
path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
obj = Gem::Specification.from_yaml($stdin)
obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
}'
gem install \
@@ -97,6 +108,7 @@ gem install \
--ignore-dependencies \
--backtrace \
--install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
$CWD/$SRCNAM-$VERSION.gem
# Strip binaries and libraries.
@@ -116,4 +128,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-pkg-config/rubygem-pkg-config.info b/ruby/rubygem-pkg-config/rubygem-pkg-config.info
index 8229c79d7d..57e7ebcc76 100644
--- a/ruby/rubygem-pkg-config/rubygem-pkg-config.info
+++ b/ruby/rubygem-pkg-config/rubygem-pkg-config.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-pkg-config"
-VERSION="1.1.6"
+VERSION="1.4.6"
HOMEPAGE="https://github.com/rcairo/pkg-config"
-DOWNLOAD="http://rubygems.org/downloads/pkg-config-1.1.6.gem"
-MD5SUM="7cd325379d3dbf0b0d561fd8056f09a7"
+DOWNLOAD="http://rubygems.org/downloads/pkg-config-1.4.6.gem"
+MD5SUM="135f289318d90ee68efc0c332e40fdcf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/rubygem-powerpack/README b/ruby/rubygem-powerpack/README
deleted file mode 100644
index ec4dfada72..0000000000
--- a/ruby/rubygem-powerpack/README
+++ /dev/null
@@ -1 +0,0 @@
-rubygem-powerpack - a few useful extensions to core ruby classes.
diff --git a/ruby/rubygem-powerpack/rubygem-powerpack.info b/ruby/rubygem-powerpack/rubygem-powerpack.info
deleted file mode 100644
index 95d26c62e9..0000000000
--- a/ruby/rubygem-powerpack/rubygem-powerpack.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-powerpack"
-VERSION="0.1.2"
-HOMEPAGE="https://github.com/bbatsov/powerpack"
-DOWNLOAD="https://rubygems.org/downloads/powerpack-0.1.2.gem"
-MD5SUM="745bf5d0bc2766b0d193d01b95d01acf"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-powerpack/slack-desc b/ruby/rubygem-powerpack/slack-desc
deleted file mode 100644
index 312777839c..0000000000
--- a/ruby/rubygem-powerpack/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-powerpack: rubygem-powerpack (a few useful extensions to core ruby classes)
-rubygem-powerpack:
-rubygem-powerpack: Powerpack offers some useful extensions to the standard Ruby classes
-rubygem-powerpack: (kind of like ActiveSupport, but less ambitious and more modular).
-rubygem-powerpack:
-rubygem-powerpack: https://github.com/bbatsov/powerpack
-rubygem-powerpack:
-rubygem-powerpack:
-rubygem-powerpack:
-rubygem-powerpack:
-rubygem-powerpack:
diff --git a/ruby/rubygem-pry/rubygem-pry.SlackBuild b/ruby/rubygem-pry/rubygem-pry.SlackBuild
index 2410b51542..c964f26d2e 100644
--- a/ruby/rubygem-pry/rubygem-pry.SlackBuild
+++ b/ruby/rubygem-pry/rubygem-pry.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-pry
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-pry
VERSION=${VERSION:-0.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=pry
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-pygments/rubygem-pygments.SlackBuild b/ruby/rubygem-pygments/rubygem-pygments.SlackBuild
index 88b5156b36..e94d68c441 100644
--- a/ruby/rubygem-pygments/rubygem-pygments.SlackBuild
+++ b/ruby/rubygem-pygments/rubygem-pygments.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-pygments
-# Copyright 2017 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-pygments
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=pygments.rb
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-pygments/rubygem-pygments.info b/ruby/rubygem-pygments/rubygem-pygments.info
index d12fcf7153..daaef01d52 100644
--- a/ruby/rubygem-pygments/rubygem-pygments.info
+++ b/ruby/rubygem-pygments/rubygem-pygments.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-multi_json"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-rack/rubygem-rack.SlackBuild b/ruby/rubygem-rack/rubygem-rack.SlackBuild
index 2fa8bfc917..55cc08ab58 100644
--- a/ruby/rubygem-rack/rubygem-rack.SlackBuild
+++ b/ruby/rubygem-rack/rubygem-rack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rack
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-rack
VERSION=${VERSION:-1.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rack
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-rainbow/README b/ruby/rubygem-rainbow/README
deleted file mode 100644
index 52af2f6724..0000000000
--- a/ruby/rubygem-rainbow/README
+++ /dev/null
@@ -1 +0,0 @@
-rubygem-rainbow - Colorize printed text on ANSI terminals.
diff --git a/ruby/rubygem-rainbow/rubygem-rainbow.info b/ruby/rubygem-rainbow/rubygem-rainbow.info
deleted file mode 100644
index c240b4e9f1..0000000000
--- a/ruby/rubygem-rainbow/rubygem-rainbow.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-rainbow"
-VERSION="3.0.0"
-HOMEPAGE="https://github.com/sickill/rainbow"
-DOWNLOAD="https://rubygems.org/downloads/rainbow-3.0.0.gem"
-MD5SUM="a4959de1d41c77d25eb56dbeeb37cf39"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-rainbow/slack-desc b/ruby/rubygem-rainbow/slack-desc
deleted file mode 100644
index dea81625be..0000000000
--- a/ruby/rubygem-rainbow/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-rainbow: rubygem-rainbow (colorize printed text on ANSI terminals)
-rubygem-rainbow:
-rubygem-rainbow: rainbow is a ruby gem for colorizing printed text on ANSI terminals.
-rubygem-rainbow:
-rubygem-rainbow:
-rubygem-rainbow: https://github.com/sickill/rainbow
-rubygem-rainbow:
-rubygem-rainbow:
-rubygem-rainbow:
-rubygem-rainbow:
-rubygem-rainbow:
diff --git a/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild b/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
index a3fd41da5d..257abde03f 100644
--- a/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
+++ b/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-rdiscount
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-rdiscount
VERSION=${VERSION:-2.2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rdiscount
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-red-colors/README b/ruby/rubygem-red-colors/README
new file mode 100644
index 0000000000..026c914b4f
--- /dev/null
+++ b/ruby/rubygem-red-colors/README
@@ -0,0 +1,2 @@
+Red Colors provides a wide array of features for dealing with
+colors.
diff --git a/ruby/rubygem-rubocop/rubygem-rubocop.SlackBuild b/ruby/rubygem-red-colors/rubygem-red-colors.SlackBuild
index 6ade521b8b..cc62a9c269 100644
--- a/ruby/rubygem-rubocop/rubygem-rubocop.SlackBuild
+++ b/ruby/rubygem-red-colors/rubygem-red-colors.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for rubygem-rubocop
+# Slackware build script for rubygem-red-colors
-# Copyright 2018-2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=rubygem-rubocop
-VERSION=${VERSION:-0.68.1}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rubygem-red-colors
+VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=rubocop
+SRCNAM=red-colors
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -103,6 +110,8 @@ gem install \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+rm -rf $PKG/$DESTDIR/cache
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
| tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
@@ -113,4 +122,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-red-colors/rubygem-red-colors.info b/ruby/rubygem-red-colors/rubygem-red-colors.info
new file mode 100644
index 0000000000..f4d441f204
--- /dev/null
+++ b/ruby/rubygem-red-colors/rubygem-red-colors.info
@@ -0,0 +1,10 @@
+PRGNAM="rubygem-red-colors"
+VERSION="0.3.0"
+HOMEPAGE="https://rubygems.org/gems/red-colors"
+DOWNLOAD="https://rubygems.org/downloads/red-colors-0.3.0.gem"
+MD5SUM="73fbc4156276b03b633182df3abd48cc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rubygem-matrix"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-red-colors/slack-desc b/ruby/rubygem-red-colors/slack-desc
new file mode 100644
index 0000000000..5fc4c0a5a1
--- /dev/null
+++ b/ruby/rubygem-red-colors/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rubygem-red-colors: rubygem-red-colors (wide array of features for dealing with colors)
+rubygem-red-colors:
+rubygem-red-colors: Red Colors provides a wide array of features for dealing with colors.
+rubygem-red-colors: This includes conversion between colorspaces, desaturation, and
+rubygem-red-colors: parsing colors.
+rubygem-red-colors:
+rubygem-red-colors: https://rubygems.org/gems/red-colors
+rubygem-red-colors:
+rubygem-red-colors:
+rubygem-red-colors:
+rubygem-red-colors:
diff --git a/ruby/rubygem-ronn/README b/ruby/rubygem-ronn/README
index 3a8a5b1941..c46afb3612 100644
--- a/ruby/rubygem-ronn/README
+++ b/ruby/rubygem-ronn/README
@@ -1,4 +1,5 @@
-Ronn converts textfiles to standard roff-formatted UNIX manpages or HTML.
+Ronn converts textfiles to standard roff-formatted UNIX manpages or
+HTML.
-ronn-format(7) is based on markdown(7) but includes additional rules and syntax
-geared toward authoring manuals.
+ronn-format(7) is based on markdown(7) but includes additional rules
+and syntax geared toward authoring manuals.
diff --git a/ruby/rubygem-ronn/rubygem-ronn.SlackBuild b/ruby/rubygem-ronn/rubygem-ronn.SlackBuild
index 0858c6c810..bca4d4f726 100644
--- a/ruby/rubygem-ronn/rubygem-ronn.SlackBuild
+++ b/ruby/rubygem-ronn/rubygem-ronn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-ronn
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-ronn
VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=ronn
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -121,4 +131,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-rspec-core/rubygem-rspec-core.SlackBuild b/ruby/rubygem-rspec-core/rubygem-rspec-core.SlackBuild
index ded3d23ec2..a942281af1 100644
--- a/ruby/rubygem-rspec-core/rubygem-rspec-core.SlackBuild
+++ b/ruby/rubygem-rspec-core/rubygem-rspec-core.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-rspec-core
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-rspec-core
VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rspec-core
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-rspec-expectations/rubygem-rspec-expectations.SlackBuild b/ruby/rubygem-rspec-expectations/rubygem-rspec-expectations.SlackBuild
index c1c1832012..1a210a2e54 100644
--- a/ruby/rubygem-rspec-expectations/rubygem-rspec-expectations.SlackBuild
+++ b/ruby/rubygem-rspec-expectations/rubygem-rspec-expectations.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-rspec-expectations
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-rspec-expectations
VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rspec-expectations
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-rspec-mocks/README b/ruby/rubygem-rspec-mocks/README
index 7959841b4e..5e07df772d 100644
--- a/ruby/rubygem-rspec-mocks/README
+++ b/ruby/rubygem-rspec-mocks/README
@@ -1,3 +1,3 @@
-rspec-mocks is a test-double framework for rspec with support for method
-stubs, fakes, and message expectations on generated test-doubles and real
-objects alike.
+rspec-mocks is a test-double framework for rspec with support
+for method stubs, fakes, and message expectations on generated
+test-doubles and real objects alike.
diff --git a/ruby/rubygem-rspec-mocks/rubygem-rspec-mocks.SlackBuild b/ruby/rubygem-rspec-mocks/rubygem-rspec-mocks.SlackBuild
index 37301636a1..5ca106a696 100644
--- a/ruby/rubygem-rspec-mocks/rubygem-rspec-mocks.SlackBuild
+++ b/ruby/rubygem-rspec-mocks/rubygem-rspec-mocks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-rspec-mocks
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-rspec-mocks
VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rspec-mocks
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-rspec-support/rubygem-rspec-support.SlackBuild b/ruby/rubygem-rspec-support/rubygem-rspec-support.SlackBuild
index 1610fea498..9487b2073b 100644
--- a/ruby/rubygem-rspec-support/rubygem-rspec-support.SlackBuild
+++ b/ruby/rubygem-rspec-support/rubygem-rspec-support.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-rspec-support
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-rspec-support
VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rspec-support
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-rspec/README b/ruby/rubygem-rspec/README
index 340fcd34c2..7c4556ebe7 100644
--- a/ruby/rubygem-rspec/README
+++ b/ruby/rubygem-rspec/README
@@ -1,10 +1,11 @@
-rspec is a meta-gem, which depends on the rspec-core, rspec-expectations and
-rspec-mocks gems. Each of these can be installed separately and loaded in
-isolation using require. Among other benefits, this allows you to use
-rspec-expectations, for example, in Test::Unit::TestCase if you happen to
-prefer that style.
+rspec is a meta-gem, which depends on the rspec-core,
+rspec-expectations and rspec-mocks gems. Each of these can be
+installed separately and loaded in isolation using require. Among
+other benefits, this allows you to use rspec-expectations, for
+example, in Test::Unit::TestCase if you happen to prefer that style.
-Conversely, if you like RSpec's approach to declaring example groups and
-examples (describe and it) but prefer Test::Unit assertions and mocha, rr or
-flexmock for mocking, you'll be able to do that without having to install or
-load the components of RSpec that you're not using.
+Conversely, if you like RSpec's approach to declaring example groups
+and examples (describe and it) but prefer Test::Unit assertions and
+mocha, rr or flexmock for mocking, you'll be able to do that without
+having to install or load the components of RSpec that you're not
+using.
diff --git a/ruby/rubygem-rspec/rubygem-rspec.SlackBuild b/ruby/rubygem-rspec/rubygem-rspec.SlackBuild
index d39f965691..9634f05e0a 100644
--- a/ruby/rubygem-rspec/rubygem-rspec.SlackBuild
+++ b/ruby/rubygem-rspec/rubygem-rspec.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-rspec
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-rspec
VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rspec
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -116,4 +126,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-rubocop/README b/ruby/rubygem-rubocop/README
deleted file mode 100644
index dbb0257573..0000000000
--- a/ruby/rubygem-rubocop/README
+++ /dev/null
@@ -1 +0,0 @@
-rubygem-rubocop - Automatic Ruby code style checking tool.
diff --git a/ruby/rubygem-rubocop/rubygem-rubocop.info b/ruby/rubygem-rubocop/rubygem-rubocop.info
deleted file mode 100644
index 8bacbb4558..0000000000
--- a/ruby/rubygem-rubocop/rubygem-rubocop.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-rubocop"
-VERSION="0.68.1"
-HOMEPAGE="https://github.com/bbatsov/rubocop"
-DOWNLOAD="https://rubygems.org/downloads/rubocop-0.68.1.gem"
-MD5SUM="2d3d36f02c5890ea96e69ede6e247646"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="rubygem-parallel rubygem-parser rubygem-powerpack rubygem-rainbow rubygem-ruby-progressbar rubygem-unicode-display_width rubygem-jaro_winkler"
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-rubocop/slack-desc b/ruby/rubygem-rubocop/slack-desc
deleted file mode 100644
index 304bb0c889..0000000000
--- a/ruby/rubygem-rubocop/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-rubocop: rubygem-rubocop (a ruby static code analyzer)
-rubygem-rubocop:
-rubygem-rubocop: A ruby static code analyzer, based on the community Ruby style guide.
-rubygem-rubocop:
-rubygem-rubocop: https://github.com/bbatsov/rubocop/
-rubygem-rubocop:
-rubygem-rubocop:
-rubygem-rubocop:
-rubygem-rubocop:
-rubygem-rubocop:
-rubygem-rubocop:
diff --git a/ruby/rubygem-ruby-progressbar/README b/ruby/rubygem-ruby-progressbar/README
deleted file mode 100644
index 64e5cffbe4..0000000000
--- a/ruby/rubygem-ruby-progressbar/README
+++ /dev/null
@@ -1 +0,0 @@
-rubygem-ruby-progressbar - a text progress bar library for ruby.
diff --git a/ruby/rubygem-ruby-progressbar/rubygem-ruby-progressbar.info b/ruby/rubygem-ruby-progressbar/rubygem-ruby-progressbar.info
deleted file mode 100644
index 138a80c5fc..0000000000
--- a/ruby/rubygem-ruby-progressbar/rubygem-ruby-progressbar.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-ruby-progressbar"
-VERSION="1.10.1"
-HOMEPAGE="https://github.com/jfelchner/ruby-progressbar"
-DOWNLOAD="https://rubygems.org/downloads/ruby-progressbar-1.10.1.gem"
-MD5SUM="7fe5834abce78f9ffcc2340c495e684c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-ruby-progressbar/slack-desc b/ruby/rubygem-ruby-progressbar/slack-desc
deleted file mode 100644
index 585d931249..0000000000
--- a/ruby/rubygem-ruby-progressbar/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-ruby-progressbar: rubygem-ruby-progressbar (a text progress bar library for ruby)
-rubygem-ruby-progressbar:
-rubygem-ruby-progressbar: The ultimate text progress bar library for Ruby.
-rubygem-ruby-progressbar:
-rubygem-ruby-progressbar:
-rubygem-ruby-progressbar: https://github.com/jfelchner/ruby-progressbar
-rubygem-ruby-progressbar:
-rubygem-ruby-progressbar:
-rubygem-ruby-progressbar:
-rubygem-ruby-progressbar:
-rubygem-ruby-progressbar:
diff --git a/ruby/rubygem-ruby2ruby/README b/ruby/rubygem-ruby2ruby/README
index bfd409f3be..d500656bef 100644
--- a/ruby/rubygem-ruby2ruby/README
+++ b/ruby/rubygem-ruby2ruby/README
@@ -1,3 +1,3 @@
-ruby2ruby provides a means of generating pure ruby code easily from RubyParser
-compatible Sexps. This makes making dynamic language processors in ruby easier
-than ever!
+ruby2ruby provides a means of generating pure ruby code easily from
+RubyParser compatible Sexps. This makes making dynamic language
+processors in ruby easier than ever!
diff --git a/ruby/rubygem-ruby2ruby/rubygem-ruby2ruby.SlackBuild b/ruby/rubygem-ruby2ruby/rubygem-ruby2ruby.SlackBuild
index f32e114f92..aec28c6b1e 100644
--- a/ruby/rubygem-ruby2ruby/rubygem-ruby2ruby.SlackBuild
+++ b/ruby/rubygem-ruby2ruby/rubygem-ruby2ruby.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-ruby2ruby
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-ruby2ruby
VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=ruby2ruby
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-ruby_parser/README b/ruby/rubygem-ruby_parser/README
index fec9198c60..7b34f3e728 100644
--- a/ruby/rubygem-ruby_parser/README
+++ b/ruby/rubygem-ruby_parser/README
@@ -1,3 +1,4 @@
-ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc–which
-does by default use a C extension). RP's output is the same as ParseTree's
-output: s-expressions using ruby's arrays and base types.
+ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
+racc–which does by default use a C extension). RP's output is the
+same as ParseTree's output: s-expressions using ruby's arrays and base
+types.
diff --git a/ruby/rubygem-ruby_parser/rubygem-ruby_parser.SlackBuild b/ruby/rubygem-ruby_parser/rubygem-ruby_parser.SlackBuild
index d399bf3aa8..443bc9287f 100644
--- a/ruby/rubygem-ruby_parser/rubygem-ruby_parser.SlackBuild
+++ b/ruby/rubygem-ruby_parser/rubygem-ruby_parser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-ruby_parser
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-ruby_parser
VERSION=${VERSION:-3.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=ruby_parser
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-ruumba/README b/ruby/rubygem-ruumba/README
deleted file mode 100644
index 0e7e3dc1af..0000000000
--- a/ruby/rubygem-ruumba/README
+++ /dev/null
@@ -1 +0,0 @@
-rubygem-ruumba - RuboCop linting for ERB templates.
diff --git a/ruby/rubygem-ruumba/rubygem-ruumba.info b/ruby/rubygem-ruumba/rubygem-ruumba.info
deleted file mode 100644
index 6754ad62c1..0000000000
--- a/ruby/rubygem-ruumba/rubygem-ruumba.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-ruumba"
-VERSION="0.1.14"
-HOMEPAGE="https://github.com/ericqweinstein/ruumba"
-DOWNLOAD="https://rubygems.org/downloads/ruumba-0.1.14.gem"
-MD5SUM="936191c77dfee365119acf73753fd931"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="rubygem-rubocop"
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-sass/README b/ruby/rubygem-sass/README
index b5a767cf21..58d5a3409d 100644
--- a/ruby/rubygem-sass/README
+++ b/ruby/rubygem-sass/README
@@ -1,4 +1,4 @@
-Sass makes CSS fun again. Sass is an extension of CSS, adding nested rules,
-variables, mixins, selector inheritance, and more. It's translated to
-well-formatted, standard CSS using the command line tool or a web-framework
-plugin.
+Sass makes CSS fun again. Sass is an extension of CSS, adding
+nested rules, variables, mixins, selector inheritance, and more. It's
+translated to well-formatted, standard CSS using the command line tool
+or a web-framework plugin.
diff --git a/ruby/rubygem-sass/rubygem-sass.SlackBuild b/ruby/rubygem-sass/rubygem-sass.SlackBuild
index 44e47110c5..7bcf14567f 100644
--- a/ruby/rubygem-sass/rubygem-sass.SlackBuild
+++ b/ruby/rubygem-sass/rubygem-sass.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-sass
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-sass
VERSION=${VERSION:-3.4.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=sass
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-sexp_processor/README b/ruby/rubygem-sexp_processor/README
index 3b5b050414..e839cadbee 100644
--- a/ruby/rubygem-sexp_processor/README
+++ b/ruby/rubygem-sexp_processor/README
@@ -1,3 +1,3 @@
sexp_processor branches from ParseTree bringing all the generic sexp
-processing tools with it. Sexp, SexpProcessor, Environment, etc… all for your
-language processing pleasure.
+processing tools with it. Sexp, SexpProcessor, Environment, etc... all
+for your language processing pleasure.
diff --git a/ruby/rubygem-sexp_processor/rubygem-sexp_processor.SlackBuild b/ruby/rubygem-sexp_processor/rubygem-sexp_processor.SlackBuild
index f0fd406a81..c3e9724442 100644
--- a/ruby/rubygem-sexp_processor/rubygem-sexp_processor.SlackBuild
+++ b/ruby/rubygem-sexp_processor/rubygem-sexp_processor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-sexp_processor
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-sexp_processor
VERSION=${VERSION:-4.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=sexp_processor
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-sigdump/rubygem-sigdump.SlackBuild b/ruby/rubygem-sigdump/rubygem-sigdump.SlackBuild
index 18ab4d39ba..bb130d32e9 100644
--- a/ruby/rubygem-sigdump/rubygem-sigdump.SlackBuild
+++ b/ruby/rubygem-sigdump/rubygem-sigdump.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-sigdump
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-sigdump
VERSION=${VERSION:-0.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=sigdump
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-slop3/README b/ruby/rubygem-slop3/README
index 75f7fedf76..bfb539f366 100644
--- a/ruby/rubygem-slop3/README
+++ b/ruby/rubygem-slop3/README
@@ -1 +1,2 @@
-Slop is a simple option parser with an easy to remember syntax and friendly API.
+Slop is a simple option parser with an easy to remember syntax and
+friendly API.
diff --git a/ruby/rubygem-slop3/rubygem-slop3.SlackBuild b/ruby/rubygem-slop3/rubygem-slop3.SlackBuild
index b169174515..c7025badfa 100644
--- a/ruby/rubygem-slop3/rubygem-slop3.SlackBuild
+++ b/ruby/rubygem-slop3/rubygem-slop3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-slop3
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-slop3
VERSION=${VERSION:-3.4.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=slop
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-sourcify/README b/ruby/rubygem-sourcify/README
index ed1960a4af..fe399c32dc 100644
--- a/ruby/rubygem-sourcify/README
+++ b/ruby/rubygem-sourcify/README
@@ -1 +1,2 @@
-Workarounds before ruby-core officially supports Proc#to_source (& friends).
+Workarounds before ruby-core officially supports Proc#to_source (and
+friends).
diff --git a/ruby/rubygem-sourcify/rubygem-sourcify.SlackBuild b/ruby/rubygem-sourcify/rubygem-sourcify.SlackBuild
index 03417aef96..5efe90305b 100644
--- a/ruby/rubygem-sourcify/rubygem-sourcify.SlackBuild
+++ b/ruby/rubygem-sourcify/rubygem-sourcify.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-sourcify
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-sourcify
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=sourcify
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-string-scrub/rubygem-string-scrub.SlackBuild b/ruby/rubygem-string-scrub/rubygem-string-scrub.SlackBuild
index b173b86171..c1f08d7aed 100644
--- a/ruby/rubygem-string-scrub/rubygem-string-scrub.SlackBuild
+++ b/ruby/rubygem-string-scrub/rubygem-string-scrub.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-string-scrub
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-string-scrub
VERSION=${VERSION:-0.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=string-scrub
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-sync/rubygem-sync.SlackBuild b/ruby/rubygem-sync/rubygem-sync.SlackBuild
index 71e197c622..b63dd3c55f 100644
--- a/ruby/rubygem-sync/rubygem-sync.SlackBuild
+++ b/ruby/rubygem-sync/rubygem-sync.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-sync
-# Copyright 2020 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2020 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-sync
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=sync
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-sync/rubygem-sync.info b/ruby/rubygem-sync/rubygem-sync.info
index f7ef107fa0..6070688aef 100644
--- a/ruby/rubygem-sync/rubygem-sync.info
+++ b/ruby/rubygem-sync/rubygem-sync.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.SlackBuild b/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.SlackBuild
index 6401629479..43f7c2e37d 100644
--- a/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.SlackBuild
+++ b/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-term-ansicolor
-# Copyright 2017-2020 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017-2020 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-term-ansicolor
VERSION=${VERSION:-1.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=term-ansicolor
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.info b/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.info
index b7f69f200d..82df731edb 100644
--- a/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.info
+++ b/ruby/rubygem-term-ansicolor/rubygem-term-ansicolor.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-tins"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild b/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
index 775b3fc1ae..6fcab5190b 100644
--- a/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
+++ b/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for terminal-table
# Copyright 2014 Lionel Young USA
# All rights reserved.
@@ -20,28 +20,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-terminal-table
VERSION=${VERSION:-1.4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=terminal-table
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-thread_safe/rubygem-thread_safe.SlackBuild b/ruby/rubygem-thread_safe/rubygem-thread_safe.SlackBuild
index 7421b6b39f..9bbc0901a1 100644
--- a/ruby/rubygem-thread_safe/rubygem-thread_safe.SlackBuild
+++ b/ruby/rubygem-thread_safe/rubygem-thread_safe.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-thread_safe
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-thread_safe
VERSION=${VERSION:-0.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=thread_safe
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-tins/rubygem-tins.SlackBuild b/ruby/rubygem-tins/rubygem-tins.SlackBuild
index a233253e5a..48629b2398 100644
--- a/ruby/rubygem-tins/rubygem-tins.SlackBuild
+++ b/ruby/rubygem-tins/rubygem-tins.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-tins
-# Copyright 2016-2020 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2016-2020 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-tins
VERSION=${VERSION:-1.24.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=tins
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-tins/rubygem-tins.info b/ruby/rubygem-tins/rubygem-tins.info
index 63e4a29339..10f06b6192 100644
--- a/ruby/rubygem-tins/rubygem-tins.info
+++ b/ruby/rubygem-tins/rubygem-tins.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-sync"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/rubygem-trogdoro-el4r/README b/ruby/rubygem-trogdoro-el4r/README
index 55b424621e..3ce4a17648 100644
--- a/ruby/rubygem-trogdoro-el4r/README
+++ b/ruby/rubygem-trogdoro-el4r/README
@@ -1,3 +1,3 @@
-El4r enables you to write Emacs programs in Ruby(EmacsRuby) as well as in
-EmacsLisp. It also enables you to unit-test Emacs programs automatically both
-in EmacsLisp and in EmacsRuby.
+El4r enables you to write Emacs programs in Ruby(EmacsRuby) as well
+as in EmacsLisp. It also enables you to unit-test Emacs programs
+automatically both in EmacsLisp and in EmacsRuby.
diff --git a/ruby/rubygem-trogdoro-el4r/rubygem-trogdoro-el4r.SlackBuild b/ruby/rubygem-trogdoro-el4r/rubygem-trogdoro-el4r.SlackBuild
index 4926482f6d..fa67c27b6f 100644
--- a/ruby/rubygem-trogdoro-el4r/rubygem-trogdoro-el4r.SlackBuild
+++ b/ruby/rubygem-trogdoro-el4r/rubygem-trogdoro-el4r.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-trogdoro-el4r
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-trogdoro-el4r
VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=trogdoro-el4r
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-trollop/rubygem-trollop.SlackBuild b/ruby/rubygem-trollop/rubygem-trollop.SlackBuild
index b627756b1b..1cd825863f 100644
--- a/ruby/rubygem-trollop/rubygem-trollop.SlackBuild
+++ b/ruby/rubygem-trollop/rubygem-trollop.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-trollop
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-trollop
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=trollop
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-tzinfo-data/README b/ruby/rubygem-tzinfo-data/README
index 61237ac985..407f3070fb 100644
--- a/ruby/rubygem-tzinfo-data/README
+++ b/ruby/rubygem-tzinfo-data/README
@@ -1,2 +1,2 @@
-TZInfo::Data contains data from the IANA Time Zone database packaged as Ruby
-modules for use with TZInfo.
+TZInfo::Data contains data from the IANA Time Zone database packaged
+as Ruby modules for use with TZInfo.
diff --git a/ruby/rubygem-tzinfo-data/rubygem-tzinfo-data.SlackBuild b/ruby/rubygem-tzinfo-data/rubygem-tzinfo-data.SlackBuild
index a9dce0e403..2791ff4d6b 100644
--- a/ruby/rubygem-tzinfo-data/rubygem-tzinfo-data.SlackBuild
+++ b/ruby/rubygem-tzinfo-data/rubygem-tzinfo-data.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-tzinfo-data
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-tzinfo-data
VERSION=${VERSION:-1.2015.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=tzinfo-data
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-tzinfo/rubygem-tzinfo.SlackBuild b/ruby/rubygem-tzinfo/rubygem-tzinfo.SlackBuild
index 74d6ba6437..ff49409be8 100644
--- a/ruby/rubygem-tzinfo/rubygem-tzinfo.SlackBuild
+++ b/ruby/rubygem-tzinfo/rubygem-tzinfo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-tzinfo
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-tzinfo
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=tzinfo
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-unicode-display_width/README b/ruby/rubygem-unicode-display_width/README
deleted file mode 100644
index da5aaf74e6..0000000000
--- a/ruby/rubygem-unicode-display_width/README
+++ /dev/null
@@ -1 +0,0 @@
-rubygem-unicode-display_width - monospace unicode character width in ruby
diff --git a/ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.SlackBuild b/ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.SlackBuild
deleted file mode 100644
index 84056a33aa..0000000000
--- a/ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for rubygem-unicode-display_width
-
-# Copyright 2018-2019 Andrew Clemons, Wellington New Zealand
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=rubygem-unicode-display_width
-VERSION=${VERSION:-1.5.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=unicode-display_width
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-DESTDIR=$( ruby -r rbconfig -e '
-include RbConfig
-printf("%s/%s/gems/%s\n",
- CONFIG["libdir"],
- CONFIG["RUBY_INSTALL_NAME"],
- CONFIG["ruby_version"]
- )
-')
-
-gem specification $CWD/$SRCNAM-$VERSION.gem | \
- ruby -r yaml -r rbconfig -e '
-c = RbConfig::CONFIG
-path = sprintf("%s/%s/gems/%s",
- c["libdir"],
- c["RUBY_INSTALL_NAME"],
- c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
-obj = Gem::Specification.from_yaml($stdin)
-obj.dependencies.each {|dep|
- if not(dep.type == :runtime)
- next
- end
- if not(sys_gemspecs.include?(dep.name))
- $stderr.write("WARNING: #{dep.name} gem not found\n")
- sleep 0.5
- end
-
-}'
-
-gem install \
- --local \
- --no-update-sources \
- --ignore-dependencies \
- --backtrace \
- --install-dir $PKG/$DESTDIR \
- --bindir $PKG/usr/bin \
- $CWD/$SRCNAM-$VERSION.gem
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
- | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
- CHANGELOG.md MIT-LICENSE.txt README.md
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.info b/ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.info
deleted file mode 100644
index 3e731a54f8..0000000000
--- a/ruby/rubygem-unicode-display_width/rubygem-unicode-display_width.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygem-unicode-display_width"
-VERSION="1.5.0"
-HOMEPAGE="https://github.com/janlelis/unicode-display_width"
-DOWNLOAD="https://rubygems.org/downloads/unicode-display_width-1.5.0.gem"
-MD5SUM="4825d10215c220fc2dbcf82029a4fb0e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/ruby/rubygem-unicode-display_width/slack-desc b/ruby/rubygem-unicode-display_width/slack-desc
deleted file mode 100644
index d4c0a9a82d..0000000000
--- a/ruby/rubygem-unicode-display_width/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rubygem-unicode-display_width: rubygem-unicode-display_width (monospace Unicode character width)
-rubygem-unicode-display_width:
-rubygem-unicode-display_width: Determines the monospace display width of a string in Ruby.
-rubygem-unicode-display_width: Implementation based on EastAsianWidth.txt and other data.
-rubygem-unicode-display_width:
-rubygem-unicode-display_width: https://github.com/janlelis/unicode-display_width
-rubygem-unicode-display_width:
-rubygem-unicode-display_width:
-rubygem-unicode-display_width:
-rubygem-unicode-display_width:
-rubygem-unicode-display_width:
diff --git a/ruby/rubygem-xiki/README b/ruby/rubygem-xiki/README
index 9cab941e20..7f69495cb8 100644
--- a/ruby/rubygem-xiki/README
+++ b/ruby/rubygem-xiki/README
@@ -1,2 +1,3 @@
-Xiki does what shell consoles do, but lets you edit everything at any time.
-It's trivial to make your own commands and menus to access other tools.
+Xiki does what shell consoles do, but lets you edit everything at
+any time. It's trivial to make your own commands and menus to access
+other tools.
diff --git a/ruby/rubygem-xiki/rubygem-xiki.SlackBuild b/ruby/rubygem-xiki/rubygem-xiki.SlackBuild
index d1c8b37fea..7e69428c30 100644
--- a/ruby/rubygem-xiki/rubygem-xiki.SlackBuild
+++ b/ruby/rubygem-xiki/rubygem-xiki.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-xiki
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-xiki
VERSION=${VERSION:-0.6.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=xiki
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.SlackBuild b/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.SlackBuild
index fce657d784..529ed61492 100644
--- a/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.SlackBuild
+++ b/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygem-yajl-ruby
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-yajl-ruby
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=yajl-ruby
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.info b/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.info
index fe7684b98d..762431d070 100644
--- a/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.info
+++ b/ruby/rubygem-yajl-ruby/rubygem-yajl-ruby.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-yajl-ruby"
-VERSION="1.2.1"
+VERSION="1.4.1"
HOMEPAGE="https://www.rubydoc.info/github/brianmario/yajl-ruby"
-DOWNLOAD="https://rubygems.org/downloads/yajl-ruby-1.2.1.gem"
-MD5SUM="61d4348658120c1e633417cdc3404390"
+DOWNLOAD="https://rubygems.org/downloads/yajl-ruby-1.4.1.gem"
+MD5SUM="3736b65ee7a68a17796e642c1a0c3a5d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl"
diff --git a/ruby/rubygems-update/rubygems-update.SlackBuild b/ruby/rubygems-update/rubygems-update.SlackBuild
index 937aa06a51..5a6c1d3e45 100644
--- a/ruby/rubygems-update/rubygems-update.SlackBuild
+++ b/ruby/rubygems-update/rubygems-update.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rubygems-update
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygems-update
-VERSION=${VERSION:-1.8.24}
+VERSION=${VERSION:-3.2.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rubygems
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,13 +88,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README.rdoc UPGRADING.rdoc MIT.txt LICENSE.txt History.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/rubygems-update/rubygems-update.info b/ruby/rubygems-update/rubygems-update.info
index bbe06976b5..9a1451afcd 100644
--- a/ruby/rubygems-update/rubygems-update.info
+++ b/ruby/rubygems-update/rubygems-update.info
@@ -1,8 +1,8 @@
PRGNAM="rubygems-update"
-VERSION="1.8.24"
+VERSION="3.2.16"
HOMEPAGE="https://rubygems.org/"
-DOWNLOAD="https://rubygems.org/rubygems/rubygems-1.8.24.tgz"
-MD5SUM="3a555b9d579f6a1a1e110628f5110c6b"
+DOWNLOAD="https://rubygems.org/rubygems/rubygems-3.2.16.tgz"
+MD5SUM="41ef4453aa9a8dd2652085975ff68401"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/ruby/sequel/README b/ruby/sequel/README
index 1d179eccf9..430934b0ab 100644
--- a/ruby/sequel/README
+++ b/ruby/sequel/README
@@ -1,13 +1,17 @@
-Sequel is a simple, flexible, and powerful SQL database access toolkit for
-Ruby.
+Sequel is a simple, flexible, and powerful SQL database access toolkit
+for Ruby.
Sequel provides thread safety, connection pooling and a concise DSL for
constructing SQL queries and table schemas.
-Sequel includes a comprehensive ORM layer for mapping records to Ruby objects
-and handling associated records.
-Sequel supports advanced database features such as prepared statements, bound
-variables, stored procedures, savepoints, two-phase commit, transaction
-isolation, master/slave configurations, and database sharding.
+
+Sequel includes a comprehensive ORM layer for mapping records to Ruby
+objects and handling associated records.
+
+Sequel supports advanced database features such as prepared statements,
+bound variables, stored procedures, savepoints, two-phase commit,
+transaction isolation, master/slave configurations, and database
+sharding.
+
Sequel currently has adapters for ADO, Amalgalite, CUBRID, DataObjects,
-IBM_DB, JDBC, MySQL, Mysql2, ODBC, Oracle, PostgreSQL, SQLAnywhere, SQLite3,
-Swift, and TinyTDS.
+IBM_DB, JDBC, MySQL, Mysql2, ODBC, Oracle, PostgreSQL, SQLAnywhere,
+SQLite3, Swift, and TinyTDS.
diff --git a/ruby/sequel/sequel.SlackBuild b/ruby/sequel/sequel.SlackBuild
index e837bdcf71..7447c5d299 100644
--- a/ruby/sequel/sequel.SlackBuild
+++ b/ruby/sequel/sequel.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sequel
-# Copyright 2013-2018 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2013-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sequel
-VERSION=${VERSION:-5.30.0}
+VERSION=${VERSION:-5.55.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -108,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/sequel/sequel.info b/ruby/sequel/sequel.info
index ce66e1dd46..81ee388f01 100644
--- a/ruby/sequel/sequel.info
+++ b/ruby/sequel/sequel.info
@@ -1,10 +1,10 @@
PRGNAM="sequel"
-VERSION="5.30.0"
+VERSION="5.55.0"
HOMEPAGE="http://sequel.jeremyevans.net/"
-DOWNLOAD="https://rubygems.org/downloads/sequel-5.30.0.gem"
-MD5SUM="72abf148718a69c9cf623c5f8c074dbb"
+DOWNLOAD="https://rubygems.org/downloads/sequel-5.55.0.gem"
+MD5SUM="19b05b5e46c523e999d4b73099e26802"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/sequel4/sequel4.SlackBuild b/ruby/sequel4/sequel4.SlackBuild
index a4e42c8d45..5aa7f7c3aa 100644
--- a/ruby/sequel4/sequel4.SlackBuild
+++ b/ruby/sequel4/sequel4.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sequel
-# Copyright 2013-2017 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2013-2017 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sequel4
VERSION=${VERSION:-4.43.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=sequel
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -116,4 +126,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/sequel4/sequel4.info b/ruby/sequel4/sequel4.info
index 49e19d0639..bacc0949d5 100644
--- a/ruby/sequel4/sequel4.info
+++ b/ruby/sequel4/sequel4.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/sqlite3/sqlite3.SlackBuild b/ruby/sqlite3/sqlite3.SlackBuild
index 7836557e1d..5946dce642 100644
--- a/ruby/sqlite3/sqlite3.SlackBuild
+++ b/ruby/sqlite3/sqlite3.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqlite3
-# Copyright 2013-2018 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2013-2018 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sqlite3
VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -108,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/sqlite3/sqlite3.info b/ruby/sqlite3/sqlite3.info
index 3441ae2037..0444106ada 100644
--- a/ruby/sqlite3/sqlite3.info
+++ b/ruby/sqlite3/sqlite3.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/ruby/tty-color/README b/ruby/tty-color/README
new file mode 100644
index 0000000000..a8672d3884
--- /dev/null
+++ b/ruby/tty-color/README
@@ -0,0 +1,2 @@
+TTY::Color provides independent color support detection component for
+TTY toolkit.
diff --git a/ruby/ruby-json/slack-desc b/ruby/tty-color/slack-desc
index d32ed34fe0..8bbbd88a61 100644
--- a/ruby/ruby-json/slack-desc
+++ b/ruby/tty-color/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ruby-json: ruby-json (implementation as a Ruby extension in C)
-ruby-json:
-ruby-json: JSON implementation as a Ruby extension in C.
-ruby-json:
-ruby-json: Home page: https://rubygems.org/gems/json/
-ruby-json:
-ruby-json:
-ruby-json:
-ruby-json:
-ruby-json:
-ruby-json:
+tty-color: tty-color (Terminal color capabilities detection.)
+tty-color:
+tty-color: TTY::Color provides independent color support detection component for
+tty-color: TTY toolkit.
+tty-color:
+tty-color:
+tty-color:
+tty-color:
+tty-color:
+tty-color:
+tty-color:
diff --git a/ruby/tty-color/tty-color.SlackBuild b/ruby/tty-color/tty-color.SlackBuild
new file mode 100644
index 0000000000..40090e6a6f
--- /dev/null
+++ b/ruby/tty-color/tty-color.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for tty-color
+
+# Copyright 2022, Tonus, Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tty-color
+VERSION=${VERSION:-0.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=tty-color
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+# Strip binaries and libraries.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/tty-color/tty-color.info b/ruby/tty-color/tty-color.info
new file mode 100644
index 0000000000..3d9dd80357
--- /dev/null
+++ b/ruby/tty-color/tty-color.info
@@ -0,0 +1,10 @@
+PRGNAM="tty-color"
+VERSION="0.6.0"
+HOMEPAGE="https://github.com/piotrmurach/tty-color/"
+DOWNLOAD="https://rubygems.org/downloads/tty-color-0.6.0.gem"
+MD5SUM="c07b77abb865c0ad470217431d07bb89"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/ruby/tty-cursor/README b/ruby/tty-cursor/README
new file mode 100644
index 0000000000..652a545a60
--- /dev/null
+++ b/ruby/tty-cursor/README
@@ -0,0 +1,7 @@
+TTY::Cursor
+Terminal cursor positioning, visibility and text manipulation.
+The purpose of this library is to help move the terminal cursor
+around and manipulate text by using intuitive method calls.
+
+TTY::Cursor provides independent cursor movement component for
+TTY toolkit.
diff --git a/ruby/tty-cursor/slack-desc b/ruby/tty-cursor/slack-desc
new file mode 100644
index 0000000000..b6329277e7
--- /dev/null
+++ b/ruby/tty-cursor/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tty-cursor: tty-cursor (help move the terminal cursor around and manipulate text)
+tty-cursor:
+tty-cursor: The purpose of this Ruby library is to help move the terminal cursor
+tty-cursor: around and manipulate text by using intuitive method calls.
+tty-cursor:
+tty-cursor:
+tty-cursor:
+tty-cursor:
+tty-cursor:
+tty-cursor:
+tty-cursor:
diff --git a/ruby/tty-cursor/tty-cursor.SlackBuild b/ruby/tty-cursor/tty-cursor.SlackBuild
new file mode 100644
index 0000000000..482ee7944d
--- /dev/null
+++ b/ruby/tty-cursor/tty-cursor.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for tty-cursor
+
+# Copyright 2022, Tonus, Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tty-cursor
+VERSION=${VERSION:-0.7.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=tty-cursor
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+# Strip binaries and libraries.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/tty-cursor/tty-cursor.info b/ruby/tty-cursor/tty-cursor.info
new file mode 100644
index 0000000000..d3538c0597
--- /dev/null
+++ b/ruby/tty-cursor/tty-cursor.info
@@ -0,0 +1,10 @@
+PRGNAM="tty-cursor"
+VERSION="0.7.1"
+HOMEPAGE="https://github.com/piotrmurach/tty-cursor/"
+DOWNLOAD="https://rubygems.org/downloads/tty-cursor-0.7.1.gem"
+MD5SUM="172e75b40ba5ca5610b0109644667085"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/ruby/tty-prompt/README b/ruby/tty-prompt/README
new file mode 100644
index 0000000000..ad8e5b4717
--- /dev/null
+++ b/ruby/tty-prompt/README
@@ -0,0 +1,9 @@
+TTY::Prompt provides independent prompt component for TTY toolkit.
+
+Features
+ Number of prompt types for gathering user input
+ A robust API for validating complex inputs
+ User friendly error feedback
+ Intuitive DSL for creating complex menus
+ Ability to page long menus
+ Support for Linux, OS X, FreeBSD and Windows systems
diff --git a/ruby/ruby-haste/slack-desc b/ruby/tty-prompt/slack-desc
index 3a12267bb1..d0dfae4b56 100644
--- a/ruby/ruby-haste/slack-desc
+++ b/ruby/tty-prompt/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ruby-haste: ruby-haste (CLI Haste Client)
-ruby-haste:
-ruby-haste: CLI Haste Client.
-ruby-haste:
-ruby-haste: Home page: https://rubygems.org/gems/haste/
-ruby-haste:
-ruby-haste:
-ruby-haste:
-ruby-haste:
-ruby-haste:
-ruby-haste:
+tty-prompt: tty-prompt (A beautiful and powerful interactive command line prompt)
+tty-prompt:
+tty-prompt: TTY::Prompt provides independent prompt component for TTY toolkit.
+tty-prompt:
+tty-prompt:
+tty-prompt:
+tty-prompt:
+tty-prompt:
+tty-prompt:
+tty-prompt:
+tty-prompt:
diff --git a/ruby/tty-prompt/tty-prompt.SlackBuild b/ruby/tty-prompt/tty-prompt.SlackBuild
new file mode 100644
index 0000000000..1a2c2feb4d
--- /dev/null
+++ b/ruby/tty-prompt/tty-prompt.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for tty-prompt
+
+# Copyright 2022, Tonus, Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tty-prompt
+VERSION=${VERSION:-0.23.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=tty-prompt
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+# Strip binaries and libraries.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/tty-prompt/tty-prompt.info b/ruby/tty-prompt/tty-prompt.info
new file mode 100644
index 0000000000..8e85caec0d
--- /dev/null
+++ b/ruby/tty-prompt/tty-prompt.info
@@ -0,0 +1,10 @@
+PRGNAM="tty-prompt"
+VERSION="0.23.1"
+HOMEPAGE="https://github.com/piotrmurach/tty-prompt/"
+DOWNLOAD="https://rubygems.org/downloads/tty-prompt-0.23.1.gem"
+MD5SUM="c4cca5f2f20b6441f7f055147cb6a941"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pastel tty-reader"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/ruby/tty-reader/README b/ruby/tty-reader/README
new file mode 100644
index 0000000000..c9e450016d
--- /dev/null
+++ b/ruby/tty-reader/README
@@ -0,0 +1,22 @@
+TTY::Reader provides independent reader component for TTY toolkit.
+
+A pure Ruby library that provides a set of methods for processing
+keyboard input in character, line and multiline modes. It maintains
+history of entered input with an ability to recall and re-edit those
+inputs. It lets you register to listen for keystroke events and trigger
+custom key events yourself.
+
+The tty-reader is not compatible with the GNU Readline
+and doesn't aim to be.
+
+Features
+ Pure Ruby
+ Reading single keypress
+ Line editing
+ Reading multiline input
+ Ability to register for keystroke events
+ Track input history
+ No global state
+ Works on Linux, OS X, FreeBSD and Windows
+ Supports Ruby versions >= 2.0.0 & JRubyNumber of prompt types for
+ gathering user input
diff --git a/ruby/tty-reader/slack-desc b/ruby/tty-reader/slack-desc
new file mode 100644
index 0000000000..c94940511e
--- /dev/null
+++ b/ruby/tty-reader/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tty-reader: tty-reader (set of methods for processing keyboard input in character)
+tty-reader:
+tty-reader: TTY::Reader provides independent reader component for TTY toolkit.
+tty-reader:
+tty-reader:
+tty-reader:
+tty-reader:
+tty-reader:
+tty-reader:
+tty-reader:
+tty-reader:
diff --git a/ruby/tty-reader/tty-reader.SlackBuild b/ruby/tty-reader/tty-reader.SlackBuild
new file mode 100644
index 0000000000..160e55959f
--- /dev/null
+++ b/ruby/tty-reader/tty-reader.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for tty-reader
+
+# Copyright 2022, Tonus, Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tty-reader
+VERSION=${VERSION:-0.9.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=tty-reader
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+# Strip binaries and libraries.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/tty-reader/tty-reader.info b/ruby/tty-reader/tty-reader.info
new file mode 100644
index 0000000000..77c613d24d
--- /dev/null
+++ b/ruby/tty-reader/tty-reader.info
@@ -0,0 +1,10 @@
+PRGNAM="tty-reader"
+VERSION="0.9.0"
+HOMEPAGE="https://github.com/piotrmurach/tty-reader/"
+DOWNLOAD="https://rubygems.org/downloads/tty-reader-0.9.0.gem"
+MD5SUM="c31a13e1210fb397e25fd9e115c5f8e0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tty-cursor tty-screen wisper"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/ruby/tty-screen/README b/ruby/tty-screen/README
new file mode 100644
index 0000000000..4cf9a01e7e
--- /dev/null
+++ b/ruby/tty-screen/README
@@ -0,0 +1,6 @@
+TTY::Screen provides independent terminal screen size detection
+component for TTY toolkit.
+
+Terminal screen size detection which works on Linux, OS X and
+Windows/Cygwin platforms and supports MRI, JRuby, TruffleRuby
+and Rubinius interpreters.
diff --git a/ruby/tty-screen/slack-desc b/ruby/tty-screen/slack-desc
new file mode 100644
index 0000000000..6c27103525
--- /dev/null
+++ b/ruby/tty-screen/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tty-screen: tty-screen (Terminal screen size detection)
+tty-screen:
+tty-screen: Terminal screen size detection which works on Linux, OS X and
+tty-screen: Windows/Cygwin platforms and supports MRI, JRuby, TruffleRuby and
+tty-screen: Rubinius interpreters.
+tty-screen:
+tty-screen:
+tty-screen:
+tty-screen:
+tty-screen:
+tty-screen:
diff --git a/ruby/tty-screen/tty-screen.SlackBuild b/ruby/tty-screen/tty-screen.SlackBuild
new file mode 100644
index 0000000000..e4d948a9f4
--- /dev/null
+++ b/ruby/tty-screen/tty-screen.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for tty-screen
+
+# Copyright 2022, Tonus, Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tty-screen
+VERSION=${VERSION:-0.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=tty-screen
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+# Strip binaries and libraries.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/tty-screen/tty-screen.info b/ruby/tty-screen/tty-screen.info
new file mode 100644
index 0000000000..e2d0bf8bf3
--- /dev/null
+++ b/ruby/tty-screen/tty-screen.info
@@ -0,0 +1,10 @@
+PRGNAM="tty-screen"
+VERSION="0.8.1"
+HOMEPAGE="https://github.com/piotrmurach/tty-screen/"
+DOWNLOAD="https://rubygems.org/downloads/tty-screen-0.8.1.gem"
+MD5SUM="64f04117c9e985a04761eb4e8e1e5d70"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/ruby/wisper/README b/ruby/wisper/README
new file mode 100644
index 0000000000..a575c8a118
--- /dev/null
+++ b/ruby/wisper/README
@@ -0,0 +1,13 @@
+A micro library providing Ruby objects with Publish-Subscribe
+capabilities
+
+ Decouple core business logic from external concerns in Hexagonal
+ style architectures
+ Use as an alternative to ActiveRecord callbacks and Observers in
+ Rails apps
+ Connect objects based on context without permanence
+ Publish events synchronously or asynchronously
+
+Note: Wisper was originally extracted from a Rails codebase but is not
+dependant on Rails.
+
diff --git a/ruby/wisper/slack-desc b/ruby/wisper/slack-desc
new file mode 100644
index 0000000000..c485d1414a
--- /dev/null
+++ b/ruby/wisper/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+wisper: wisper (provids Ruby objects with Publish-Subscribe capabilities.)
+wisper:
+wisper: A micro library providing Ruby objects with Publish-Subscribe
+wisper: capabilities
+wisper:
+wisper:
+wisper:
+wisper:
+wisper:
+wisper:
+wisper:
diff --git a/ruby/wisper/wisper.SlackBuild b/ruby/wisper/wisper.SlackBuild
new file mode 100644
index 0000000000..4621c94d2f
--- /dev/null
+++ b/ruby/wisper/wisper.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for wisper
+
+# Copyright 2022, Tonus, Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=wisper
+VERSION=${VERSION:-2.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=wisper
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+DESTDIR=$( ruby -r rbconfig -e '
+include RbConfig
+printf("%s/%s/gems/%s\n",
+ CONFIG["libdir"],
+ CONFIG["RUBY_INSTALL_NAME"],
+ CONFIG["ruby_version"]
+ )
+')
+
+gem specification $CWD/$SRCNAM-$VERSION.gem | \
+ ruby -r yaml -r rbconfig -e '
+c = RbConfig::CONFIG
+path = sprintf("%s/%s/gems/%s",
+ c["libdir"],
+ c["RUBY_INSTALL_NAME"],
+ c["ruby_version"])
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
+obj = Gem::Specification.from_yaml($stdin)
+obj.dependencies.each {|dep|
+ if not(dep.type == :runtime)
+ next
+ end
+ if not(sys_gemspecs.include?(dep.name))
+ $stderr.write("WARNING: #{dep.name} gem not found\n")
+ sleep 0.5
+ end
+
+}'
+
+gem install \
+ --local \
+ --no-update-sources \
+ --ignore-dependencies \
+ --backtrace \
+ --install-dir $PKG/$DESTDIR \
+ --bindir $PKG/usr/bin \
+ $CWD/$SRCNAM-$VERSION.gem
+
+# Strip binaries and libraries.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=-
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/ruby/wisper/wisper.info b/ruby/wisper/wisper.info
new file mode 100644
index 0000000000..9f1e4ac657
--- /dev/null
+++ b/ruby/wisper/wisper.info
@@ -0,0 +1,10 @@
+PRGNAM="wisper"
+VERSION="2.0.1"
+HOMEPAGE="https://github.com/krisleech/wisper"
+DOWNLOAD="https://rubygems.org/downloads/wisper-2.0.1.gem"
+MD5SUM="d37a95462b8c7261c4de6158dcca653d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"