aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-29 14:08:09 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:32 +0700
commit3de6fb26ac7df544cc0e3242817ef2f4ee31866b (patch)
tree80a0e33178b45dc9d6144418a7f2b9a9b95f1a1c /ruby
parent4f57be0371ad25602f5330f2f13bd5a39a317faa (diff)
ruby/rubygem-glib2: Updated for version 3.4.9.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby')
-rw-r--r--ruby/rubygem-glib2/rubygem-glib2.SlackBuild10
-rw-r--r--ruby/rubygem-glib2/rubygem-glib2.info8
2 files changed, 9 insertions, 9 deletions
diff --git a/ruby/rubygem-glib2/rubygem-glib2.SlackBuild b/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
index d93e78d4fcc9d..e4084ed43633e 100644
--- a/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
+++ b/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
@@ -25,7 +25,7 @@
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}
@@ -34,7 +34,7 @@ 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
@@ -52,8 +52,8 @@ 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"
@@ -120,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
mkdir -p $PKG/install
diff --git a/ruby/rubygem-glib2/rubygem-glib2.info b/ruby/rubygem-glib2/rubygem-glib2.info
index 447f3f5b22a06..01753c893e63b 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"