libraries/libcurl-gnutls: Align with template.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-05-15 19:31:52 -04:00 committed by Willy Sudiarto Raharjo
parent 6ba423f9df
commit 66d093641c
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -26,17 +26,21 @@
# <http://www.gnu.org/licenses/>.
#
# 20230515 bkw: Modified by SlackBuilds.org. Align with template, and
# s/PKGNAM/SRCNAM/g (sorry, PRGNAM and PKGNAM look too similar in too
# many fonts).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libcurl-gnutls
PKGNAM=curl
SRCNAM=curl
VERSION=${VERSION:-8.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
TMP=${TMP:-/tmp/pkg}
PKG=$TMP/package-$PKGNAM
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z ${ARCH:=""} ]; then
@ -74,9 +78,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.xz
cd $PKGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \