aboutsummaryrefslogtreecommitdiff
path: root/office/calibre/calibre.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/calibre/calibre.SlackBuild')
-rw-r--r--office/calibre/calibre.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
index 35c5b2fed302..9dc5e73706a4 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.13.0}
+VERSION=${VERSION:-1.15.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -112,6 +112,8 @@ cat src/calibre/linux.py | sed -n "/^VIEWER/,/^'''/p" | \
sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-lrfviewer.desktop
cat src/calibre/linux.py | sed -n "/^EVIEWER/,/^'''/p" | \
sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-ebook-viewer.desktop
+cat src/calibre/linux.py | sed -n "/^ETWEAK/,/^'''/p" | \
+ sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-ebook-edit.desktop
cat src/calibre/linux.py | sed -n "/^GUI/,/^'''/p" | \
sed -e "/'''/d" -e '/^Name/s|calibre|Calibre|' \
> $PKG/usr/share/applications/$PRGNAM-gui.desktop
@@ -123,12 +125,15 @@ for i in 16 24 32 64 96 128; do
-resize ${i}x${i}! $PRGNAM-viewer-${i}.png
convert imgsrc/mimetypes/lrf.svg \
-resize ${i}x${i}! application-x-sony-bbeb-${i}.png
+ convert resources/images/tweak.png -resize ${i}x${i}! $PRGNAM-ebook-edit-${i}.png
install -D -m 0644 $PRGNAM-gui-${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-gui.png
install -D -m 0644 $PRGNAM-viewer-${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-viewer.png
install -D -m 0644 application-x-sony-bbeb-${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/mimetypes/application-x-sony-bbeb.png
+ install -D -m 0644 $PRGNAM-ebook-edit-${i}.png \
+ $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-ebook-edit.png
done
# Don't ship fonts that are already in Slackware.