From 774d60935dbd197dc89a2ea3293a85bfbf2f28ce Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 6 Oct 2024 12:55:30 +0900 Subject: [PATCH] ruby/rubygem-rdiscount: Updated for version 2.2.7.3 (+ new maint). Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- ruby/rubygem-rdiscount/rubygem-rdiscount.SlackBuild | 9 +++++---- ruby/rubygem-rdiscount/rubygem-rdiscount.info | 12 ++++++------ 2 files changed, 11 insertions(+), 10 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="" diff --git a/ruby/rubygem-rdiscount/rubygem-rdiscount.info b/ruby/rubygem-rdiscount/rubygem-rdiscount.info index 4f85a79fe8..bf8ccd4997 100644 --- a/ruby/rubygem-rdiscount/rubygem-rdiscount.info +++ b/ruby/rubygem-rdiscount/rubygem-rdiscount.info @@ -1,10 +1,10 @@ PRGNAM="rubygem-rdiscount" -VERSION="2.2.0.1" -HOMEPAGE="http://dafoster.net/projects/rdiscount/" -DOWNLOAD="https://rubygems.org/downloads/rdiscount-2.2.0.1.gem" -MD5SUM="a744103bbbed370cb8402c80042d916d" +VERSION="2.2.7.3" +HOMEPAGE="https://dafoster.net/projects/rdiscount/" +DOWNLOAD="https://rubygems.org/downloads/rdiscount-2.2.7.3.gem" +MD5SUM="5a32c8bf81abceec6d145a5ccf222ed7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" +MAINTAINER="Andrew Clemons" +EMAIL="andrew.clemons@gmail.com"