summaryrefslogtreecommitdiff
path: root/office/calibre/calibre.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-12-15 11:47:53 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-17 11:00:45 -0600
commit607b582a2927bd387edee1f88795ec7cd2bcd728 (patch)
tree1a4a5f28c87cb7cc882fb1cf1d46d567518dbc91 /office/calibre/calibre.SlackBuild
parent9d32241eeb1d15f4e5770f8a50acdc44b4c4e70f (diff)
downloadslackbuilds-607b582a2927bd387edee1f88795ec7cd2bcd728.tar.gz
office/calibre: Updated for version 1.15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 35c5b2fed3..9dc5e73706 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.