aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-23 15:02:27 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:36 +0700
commit18069bb96280d4dbbceb909190df1d0572f4e51f (patch)
tree080df29aed032845dc3d5846a0b26206fdfa288f
parenta7f926e67d91feec8b7687697af8cf9c03a86800 (diff)
system/snapscreenshot: Updated for version 1.0.15.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/snapscreenshot/snapscreenshot.SlackBuild14
-rw-r--r--system/snapscreenshot/snapscreenshot.info6
2 files changed, 8 insertions, 12 deletions
diff --git a/system/snapscreenshot/snapscreenshot.SlackBuild b/system/snapscreenshot/snapscreenshot.SlackBuild
index f84349c7f38e2..ecb2494eeb4bf 100644
--- a/system/snapscreenshot/snapscreenshot.SlackBuild
+++ b/system/snapscreenshot/snapscreenshot.SlackBuild
@@ -6,10 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210823 bkw: update for v1.0.15.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=snapscreenshot
-VERSION=${VERSION:-1.0.14.3}
+VERSION=${VERSION:-1.0.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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$TAG.$PKGTYPE"
exit 0
@@ -57,11 +56,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# It's really annoying to have errors sent to stdout, when the main
# way to use the program is to redirect stdout to a file...
diff --git a/system/snapscreenshot/snapscreenshot.info b/system/snapscreenshot/snapscreenshot.info
index e6d21eb103953..fe7e640b2dfb2 100644
--- a/system/snapscreenshot/snapscreenshot.info
+++ b/system/snapscreenshot/snapscreenshot.info
@@ -1,8 +1,8 @@
PRGNAM="snapscreenshot"
-VERSION="1.0.14.3"
+VERSION="1.0.15"
HOMEPAGE="https://bisqwit.iki.fi/source/snapscreenshot.html"
-DOWNLOAD="http://www.pc-freak.net/files/snapscreenshot-1.0.14.3.tar.bz2"
-MD5SUM="6332e26ed7b6bbddf1a3c3d11f82c39a"
+DOWNLOAD="https://bisqwit.iki.fi/src/arch/snapscreenshot-1.0.15.tar.bz2"
+MD5SUM="29dd773a4fb9b3d3a4512d6913a174e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""