gis/cligj: Update for 0.7.2 (+new maintainer)

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-07-01 21:15:51 -07:00 committed by Willy Sudiarto Raharjo
parent 472e216264
commit 7c071b5e61
2 changed files with 7 additions and 23 deletions

View file

@ -3,6 +3,7 @@
# SlackBuild script for cligj
# Copyright 2015-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cligj
VERSION=${VERSION:-0.7.1}
VERSION=${VERSION:-0.7.2}
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
@ -52,20 +50,6 @@ 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

View file

@ -1,10 +1,10 @@
PRGNAM="cligj"
VERSION="0.7.1"
VERSION="0.7.2"
HOMEPAGE="https://github.com/mapbox/cligj"
DOWNLOAD="https://github.com/mapbox/cligj/archive/0.7.1/cligj-0.7.1.tar.gz"
MD5SUM="fe4b6452e96e42254c0e3d4416e19851"
DOWNLOAD="https://github.com/mapbox/cligj/archive/0.7.2/cligj-0.7.2.tar.gz"
MD5SUM="b184cdeaf0ba8dc9164e5e78d97013f5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="click"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu@protonmail.com"