aboutsummaryrefslogtreecommitdiff
path: root/office/calibre
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-03-01 13:27:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-01 13:27:57 +0700
commit2ad081bc952ab87706a2c238d0eacb56865b9ac3 (patch)
treeaae8a49a1f7b150bd0121ea7ca6aacab204bee03 /office/calibre
parentfb2aa241530d544a0714619bc97f2594de8d801c (diff)
office/calibre: Updated for version 1.26.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/calibre')
-rw-r--r--office/calibre/calibre.SlackBuild6
-rw-r--r--office/calibre/calibre.info6
2 files changed, 6 insertions, 6 deletions
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
index d06c35e1203ce..94b0bd450df2d 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 \
diff --git a/office/calibre/calibre.info b/office/calibre/calibre.info
index cfcc59858db5f..0e1aa1899c641 100644
--- a/office/calibre/calibre.info
+++ b/office/calibre/calibre.info
@@ -1,8 +1,8 @@
PRGNAM="calibre"
-VERSION="1.22.0"
+VERSION="1.26.0"
HOMEPAGE="http://calibre-ebook.com"
-DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.22.0.tar.xz"
-MD5SUM="51449736b887469a7dfd70d3fae68912"
+DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.26.0.tar.xz"
+MD5SUM="530485d30087c569c604df1c7e2b3d3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cssutils dnspython lxml mechanize podofo python-dateutil netifaces psutil cssselect apsw"