From 3f61681d402292c562356650eb10f26fff878d51 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 19 Jan 2014 09:18:58 +0700 Subject: office/calibre: Updated for version 1.20.0. Signed-off-by: Willy Sudiarto Raharjo --- office/calibre/calibre.SlackBuild | 9 ++++++++- office/calibre/calibre.info | 6 +++--- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'office') diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild index 9dc5e73706..e3dbac7579 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.15.0} +VERSION=${VERSION:-1.20.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -146,6 +146,13 @@ for FONT in $PKG/usr/share/$PRGNAM/fonts/liberation/*; do fi done +# Remove $PKG and $TMP from file metadata. +find $PKG -iname "*_ui.py" -exec sed -i "s|$TMP||" '{}' \; +for i in $(find $PKG/usr/share/icons -iname "*.png"); do + convert $i -set filename "$(echo $i | sed "s|$PKG||")" $i + convert $i -set svg:base-uri "$(echo $i | sed "s|$TMP/||")" $i +done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ LICENSE* Changelog.yaml COPYRIGHT README.md \ diff --git a/office/calibre/calibre.info b/office/calibre/calibre.info index 3f5435a2d1..0cc8c4c574 100644 --- a/office/calibre/calibre.info +++ b/office/calibre/calibre.info @@ -1,8 +1,8 @@ PRGNAM="calibre" -VERSION="1.15.0" +VERSION="1.20.0" HOMEPAGE="http://calibre-ebook.com" -DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.15.0.tar.xz" -MD5SUM="ee72ec13e501b51f22916ea94d26c610" +DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.20.0.tar.xz" +MD5SUM="463cdfaa008a2aa16343876b77ae4e17" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cssutils dnspython lxml mechanize podofo python-dateutil netifaces psutil cssselect apsw" -- cgit v1.2.3