From 778e629dde2c6ae5fbb5f23c73d85e8f6e2ab2cd Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 1 Dec 2013 08:39:24 +0700 Subject: office/calibre: Updated for version 1.13.0. Signed-off-by: Willy Sudiarto Raharjo --- office/calibre/calibre.SlackBuild | 7 +++---- office/calibre/calibre.info | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'office/calibre') diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild index e8302651d0..35c5b2fed3 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 diff --git a/office/calibre/calibre.info b/office/calibre/calibre.info index 7643c84c41..365560f6f7 100644 --- a/office/calibre/calibre.info +++ b/office/calibre/calibre.info @@ -1,8 +1,8 @@ PRGNAM="calibre" -VERSION="1.10.0" +VERSION="1.13.0" HOMEPAGE="http://calibre-ebook.com" -DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.10.0.tar.xz" -MD5SUM="736dba201646affa7d579bb8b9cf77f0" +DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.13.0.tar.xz" +MD5SUM="aeee6229f36eacdd1a28bade3bc1dd9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cssutils dnspython lxml mechanize podofo python-dateutil netifaces psutil cssselect apsw" -- cgit v1.2.3-80-g2a13