diff options
Diffstat (limited to 'development/postman')
-rw-r--r-- | development/postman/doinst.sh | 10 | ||||
-rw-r--r-- | development/postman/postman.SlackBuild | 7 | ||||
-rw-r--r-- | development/postman/postman.desktop | 8 | ||||
-rw-r--r-- | development/postman/postman.info | 6 |
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 a657971f4a..18bf7fc42d 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.19.0} +VERSION=${VERSION:-11.2.0} 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 04ea413535..a169663757 100644 --- a/development/postman/postman.info +++ b/development/postman/postman.info @@ -1,10 +1,10 @@ PRGNAM="postman" -VERSION="9.19.0" +VERSION="11.2.0" HOMEPAGE="https://www.getpostman.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://dl.pstmn.io/download/version/9.19.0/linux64" -MD5SUM_x86_64="9c99b16c0698b08a4a42c492e8964a33" +DOWNLOAD_x86_64="https://dl.pstmn.io/download/version/11.2.0/linux64" +MD5SUM_x86_64="4cf9cba890429c7aee345576a1100fbc" REQUIRES="" MAINTAINER="Ebben Aries" EMAIL="slackbuilds@dscp.org" |