mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
gis/cligj: Update for 0.7.2 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
472e216264
commit
7c071b5e61
2 changed files with 7 additions and 23 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue