Browse Source

xap/mupdf: Added custom desktop file.

slackware-15.0
parent
commit
1d5d455c46
  1. 5
      xap/mupdf/mupdf.SlackBuild
  2. 12
      xap/mupdf/mupdf.desktop

5
xap/mupdf/mupdf.SlackBuild

@ -32,7 +32,7 @@ WGET=${WGET:-https://mupdf.com/downloads/archive/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-mupdf}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -93,6 +93,9 @@ make install prefix=$PKG/usr \
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install desktop file
install -D -m 644 $CWD/mupdf.desktop $PKG/usr/share/applications/mupdf.desktop
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

12
xap/mupdf/mupdf.desktop

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Name=MuPDF
GenericName=MuPDF
Comment=PDF/XPS/CBZ viewer
Type=Application
Categories=Office;Viewer;
Exec=/usr/bin/mupdf-gl %F
Terminal=false
StartupNotify=true
MimeType=application/pdf;application/epub+zip;
Icon=document
Loading…
Cancel
Save