diff options
author | Larry Hajali <larryhaja@gmail.com> | 2013-12-01 08:39:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-12-01 13:00:58 +0700 |
commit | 778e629dde2c6ae5fbb5f23c73d85e8f6e2ab2cd (patch) | |
tree | e70ba612ebcaf2601948d312895c8e99c7e8e153 /office/calibre/calibre.SlackBuild | |
parent | bf468b02fdf869dc7dd39b175710b61f0987cc2d (diff) |
office/calibre: Updated for version 1.13.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/calibre/calibre.SlackBuild')
-rw-r--r-- | office/calibre/calibre.SlackBuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild index e8302651d09b2..35c5b2fed302e 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.10.0} +VERSION=${VERSION:-1.13.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,8 +74,6 @@ find -L . \ patch -p1 < $CWD/patches/remove-desktop-integration.patch # Fix calibre module location. patch -p1 < $CWD/patches/calibre-module-fix.patch -# Make sure version string is correct. -sed -i "/^numeric_version/s|(.*)|(${VERSION//\./, })|" src/calibre/constants.py # Remove calibre portable scripts. rm -f resources/calibre-portable.* @@ -115,7 +113,8 @@ cat src/calibre/linux.py | sed -n "/^VIEWER/,/^'''/p" | \ 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 "/^GUI/,/^'''/p" | \ - sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-gui.desktop + 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 for i in 16 24 32 64 96 128; do |