summaryrefslogtreecommitdiff
path: root/python/click-plugins/click-plugins.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/click-plugins/click-plugins.SlackBuild')
-rw-r--r--python/click-plugins/click-plugins.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/click-plugins/click-plugins.SlackBuild b/python/click-plugins/click-plugins.SlackBuild
index 7a153561fd..cf61374149 100644
--- a/python/click-plugins/click-plugins.SlackBuild
+++ b/python/click-plugins/click-plugins.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=click-plugins
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,7 +75,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS.txt CHANGES.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.txt CHANGES.md LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install