summaryrefslogtreecommitdiff
path: root/office/calibre/calibre.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/calibre/calibre.SlackBuild')
-rw-r--r--office/calibre/calibre.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
index d06c35e120..94b0bd450d 100644
--- a/office/calibre/calibre.SlackBuild
+++ b/office/calibre/calibre.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=calibre
-VERSION=${VERSION:-1.22.0}
+VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -117,8 +117,8 @@ cat src/calibre/linux.py | sed -n "/^ETWEAK/,/^'''/p" | \
cat src/calibre/linux.py | sed -n "/^GUI/,/^'''/p" | \
sed -e "/'''/d" -e '/^Name/s|calibre|Calibre|' \
> $PKG/usr/share/applications/$PRGNAM-gui.desktop
-cat src/calibre/linux.py | sed -n "/^MIME/,/^'''/p" | \
- sed -e "/'''/d" > $PKG/usr/share/mime/packages/$PRGNAM-mimetypes.xml
+install -D -m 0644 resources/$PRGNAM-mimetypes.xml $PKG/usr/share/mime/packages
+rm -f $PKG/usr/share/$PRGNAM/$PRGNAM-mimetypes.xml
for i in 16 24 32 64 96 128; do
convert resources/images/lt.png -resize ${i}x${i}! $PRGNAM-gui-${i}.png
convert -background none imgsrc/viewer.svg \