diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-15 19:31:52 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:37 +0700 |
commit | 66d093641c5c13de0bbd2ac0337191e6281c9a18 (patch) | |
tree | 495ac60beb728d761ba4b54ab5019e203347a9ca /libraries/libcurl-gnutls | |
parent | 6ba423f9df4bc7e8f2ac4da04cdcc13ebdb74eda (diff) |
libraries/libcurl-gnutls: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libcurl-gnutls')
-rw-r--r-- | libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild index b54c89821fbbc..d527abca2e2eb 100644 --- a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild +++ b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild @@ -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 . \ |