summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Fernando Lopez Jr. <fernando.lopezjr@gmail.com>2024-07-24 07:42:08 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-24 07:52:11 +0700
commit6a0ec2af9574d213d82ca53a7f32237c6c6903c2 (patch)
tree917cae03bd1d86de2b5a11771ce0fb1f45844573 /graphics
parent376c631989847b8e62a6b13b718400db03248e0a (diff)
downloadslackbuilds-6a0ec2af9574d213d82ca53a7f32237c6c6903c2.tar.gz
slackbuilds-6a0ec2af9574d213d82ca53a7f32237c6c6903c2.tar.xz
graphics/flameshot: Updated for version 12.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/flameshot/doinst.sh9
-rw-r--r--graphics/flameshot/flameshot.SlackBuild8
-rw-r--r--graphics/flameshot/flameshot.info6
3 files changed, 15 insertions, 8 deletions
diff --git a/graphics/flameshot/doinst.sh b/graphics/flameshot/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/graphics/flameshot/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/flameshot/flameshot.SlackBuild b/graphics/flameshot/flameshot.SlackBuild
index 10a8756213..72aeb4f906 100644
--- a/graphics/flameshot/flameshot.SlackBuild
+++ b/graphics/flameshot/flameshot.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=flameshot
-VERSION=${VERSION:-0.8.5}
+VERSION=${VERSION:-12.1.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,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
@@ -96,11 +93,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md docs/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp LICENSE README.md docs/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/flameshot/flameshot.info b/graphics/flameshot/flameshot.info
index 6be9686b26..0a13e093dc 100644
--- a/graphics/flameshot/flameshot.info
+++ b/graphics/flameshot/flameshot.info
@@ -1,8 +1,8 @@
PRGNAM="flameshot"
-VERSION="0.8.5"
+VERSION="12.1.0"
HOMEPAGE="https://flameshot.js.org"
-DOWNLOAD="https://github.com/lupoDharkael/flameshot/archive/v0.8.5/flameshot-0.8.5.tar.gz"
-MD5SUM="be843bc62c0955a0aadc2a5dcc66e4b3"
+DOWNLOAD="https://github.com/lupoDharkael/flameshot/archive/v12.1.0/flameshot-12.1.0.tar.gz"
+MD5SUM="8c24308d01e3c073f9e876785b623211"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""