aboutsummaryrefslogtreecommitdiff
path: root/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-10-06 12:55:30 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-12 11:34:33 +0700
commit774d60935dbd197dc89a2ea3293a85bfbf2f28ce (patch)
tree122d48395ce480446fdaf732c44f449b4c96812d /ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
parenteee8cf4096bb1e2b5bfdde9b318ae6e9f79cd266 (diff)
ruby/rubygem-rdiscount: Updated for version 2.2.7.3 (+ new maint).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild')
-rw-r--r--ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild b/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
index 257abde03f..948b08ef93 100644
--- a/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
+++ b/ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for rubygem-rdiscount
# Copyright 2017 David Spencer, Baildon, West Yorkshire, U.K.
+# Copyright 2024 Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rubygem-rdiscount
-VERSION=${VERSION:-2.2.0.1}
+VERSION=${VERSION:-2.2.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then
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
@@ -61,6 +59,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""