diff options
Diffstat (limited to 'libraries/uriparser')
-rw-r--r-- | libraries/uriparser/uriparser.SlackBuild | 20 | ||||
-rw-r--r-- | libraries/uriparser/uriparser.info | 6 |
2 files changed, 18 insertions, 8 deletions
diff --git a/libraries/uriparser/uriparser.SlackBuild b/libraries/uriparser/uriparser.SlackBuild index fa1cc3fafe..4011fb00d1 100644 --- a/libraries/uriparser/uriparser.SlackBuild +++ b/libraries/uriparser/uriparser.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for uriparser -# Copyright 2015-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2015-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # 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=uriparser -VERSION=${VERSION:-0.9.4} +VERSION=${VERSION:-0.9.7} 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} @@ -98,4 +108,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/libraries/uriparser/uriparser.info b/libraries/uriparser/uriparser.info index a40f35ee6a..92a6f24b8a 100644 --- a/libraries/uriparser/uriparser.info +++ b/libraries/uriparser/uriparser.info @@ -1,8 +1,8 @@ PRGNAM="uriparser" -VERSION="0.9.4" +VERSION="0.9.7" HOMEPAGE="https://uriparser.github.io" -DOWNLOAD="https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.4/uriparser-0.9.4.tar.xz" -MD5SUM="3b59a825b288f0aa6be871d657ad3e23" +DOWNLOAD="https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.7/uriparser-0.9.7.tar.xz" +MD5SUM="5c64361cb0a7432b98309c94918a0b86" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="graphviz" |