summaryrefslogtreecommitdiffstats
path: root/development/postman
diff options
context:
space:
mode:
Diffstat (limited to 'development/postman')
-rw-r--r--development/postman/doinst.sh10
-rw-r--r--development/postman/postman.SlackBuild7
-rw-r--r--development/postman/postman.desktop8
-rw-r--r--development/postman/postman.info6
4 files changed, 26 insertions, 5 deletions
diff --git a/development/postman/doinst.sh b/development/postman/doinst.sh
index 39f9be1ff4..e69b296100 100644
--- a/development/postman/doinst.sh
+++ b/development/postman/doinst.sh
@@ -1,2 +1,12 @@
( cd usr/bin ; rm -rf postman )
( cd usr/bin ; ln -sf /opt/postman/app/Postman postman )
+
+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/development/postman/postman.SlackBuild b/development/postman/postman.SlackBuild
index fc799f3760..1166f3f735 100644
--- a/development/postman/postman.SlackBuild
+++ b/development/postman/postman.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Postman
-# Copyright 2018-2022 Ebben Aries <slackbuilds@dscp.org>
+# Copyright 2018-2024 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=postman
SRCDIR=Postman
SRCNAM=linux
-VERSION=${VERSION:-9.16.0}
+VERSION=${VERSION:-11.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -97,6 +97,9 @@ rm -rf Postman
mkdir -p $PKG/opt/$PRGNAM
cp -a * $PKG/opt/$PRGNAM
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/postman/postman.desktop b/development/postman/postman.desktop
new file mode 100644
index 0000000000..358a963712
--- /dev/null
+++ b/development/postman/postman.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Postman
+Comment=Postman API Platform
+Exec=/usr/bin/postman %U
+Icon=/opt/postman/app/resources/app/assets/icon.png
+Terminal=false
+Type=Application
+Categories=Development;
diff --git a/development/postman/postman.info b/development/postman/postman.info
index 919403472a..e5589248de 100644
--- a/development/postman/postman.info
+++ b/development/postman/postman.info
@@ -1,10 +1,10 @@
PRGNAM="postman"
-VERSION="9.16.0"
+VERSION="11.0.4"
HOMEPAGE="https://www.getpostman.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://dl.pstmn.io/download/version/9.16.0/linux64"
-MD5SUM_x86_64="a39ecb124931f12473a8fdbfeb2cc971"
+DOWNLOAD_x86_64="https://dl.pstmn.io/download/version/11.0.4/linux64"
+MD5SUM_x86_64="d17fa7c7c7a9586f7e2111a0c8cb3470"
REQUIRES=""
MAINTAINER="Ebben Aries"
EMAIL="slackbuilds@dscp.org"