summaryrefslogtreecommitdiff
path: root/system/letsencrypt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/letsencrypt.sh')
-rw-r--r--system/letsencrypt.sh/letsencrypt.sh.SlackBuild15
-rw-r--r--system/letsencrypt.sh/letsencrypt.sh.info2
2 files changed, 9 insertions, 8 deletions
diff --git a/system/letsencrypt.sh/letsencrypt.sh.SlackBuild b/system/letsencrypt.sh/letsencrypt.sh.SlackBuild
index 780d2192c2..6c1e1221ba 100644
--- a/system/letsencrypt.sh/letsencrypt.sh.SlackBuild
+++ b/system/letsencrypt.sh/letsencrypt.sh.SlackBuild
@@ -31,16 +31,16 @@ ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf letsencrypt.sh-0.2.0
-tar vxf $CWD/v0.2.0.tar.gz
-cd letsencrypt.sh-0.2.0
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,9 +70,10 @@ cat << EOF > $PKG/etc/logrotate.d/$PRGNAM
EOF
# Docs
-mkdir -p $PKG/usr/doc/letsencrypt.sh-$VERSION
-mv docs/* $PKG/usr/doc/letsencrypt.sh-$VERSION/
-mv CHANGELOG LICENSE README.md $PKG/usr/doc/letsencrypt.sh-$VERSION/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv docs/* $PKG/usr/doc/$PRGNAM-$VERSION/
+mv CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/system/letsencrypt.sh/letsencrypt.sh.info b/system/letsencrypt.sh/letsencrypt.sh.info
index e644042f15..df95e1808f 100644
--- a/system/letsencrypt.sh/letsencrypt.sh.info
+++ b/system/letsencrypt.sh/letsencrypt.sh.info
@@ -1,7 +1,7 @@
PRGNAM="letsencrypt.sh"
VERSION="0.2.0"
HOMEPAGE="https://github.com/lukas2511/letsencrypt.sh/"
-DOWNLOAD="https://github.com/lukas2511/letsencrypt.sh/archive/v0.2.0.tar.gz"
+DOWNLOAD="https://github.com/lukas2511/letsencrypt.sh/archive/v0.2.0/letsencrypt.sh-v0.2.0.tar.gz"
MD5SUM="74974ab79d6879b92ba353bbf3d1257e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""