summaryrefslogtreecommitdiffstats
path: root/network/acme.sh/acme.sh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/acme.sh/acme.sh.SlackBuild')
-rw-r--r--network/acme.sh/acme.sh.SlackBuild21
1 files changed, 6 insertions, 15 deletions
diff --git a/network/acme.sh/acme.sh.SlackBuild b/network/acme.sh/acme.sh.SlackBuild
index 4cfb5bca53..554aa6df98 100644
--- a/network/acme.sh/acme.sh.SlackBuild
+++ b/network/acme.sh/acme.sh.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/bin/sh
#
# Slackware build script for acme.sh
#
-# Copyright 2019 Corrado Franco (https://conraid.net)
+# Copyright 2019-2021 Corrado Franco (https://corradofranco.it)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
@@ -26,12 +26,10 @@
# Latest version of this SlackBuild at https://github.com/conraid/SlackBuilds
PRGNAM=acme.sh
-VERSION=${VERSION:-2.8.1}
+VERSION=${VERSION:-2.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-DOCFILES="*.md"
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -39,14 +37,6 @@ OUTPUT=${OUTPUT:-/tmp}
ARCH=noarch
-# 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.txz "
- exit 0
-fi
-
set -eu
rm -rf $PKG
@@ -64,8 +54,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
install -Dm755 acme.sh $PKG/usr/bin/acme.sh
-install -Dm755 deploy/*.sh -t $PKG/usr/share/$PRGNAM/deploy/
-install -Dm755 dnsapi/*.sh -t $PKG/usr/share/$PRGNAM/dnsapi/
+install -Dm755 deploy/*.sh -t $PKG/usr/share/$PRGNAM/deploy
+install -Dm755 dnsapi/*.sh -t $PKG/usr/share/$PRGNAM/dnsapi
+install -Dm755 notify/*.sh -t $PKG/usr/share/$PRGNAM/notify
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION || true