development/postman: Add desktop entry.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bd1e55237d
commit
9d98a6a1ce
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue