diff options
author | Larry Hajali <larryhaja@gmail.com> | 2014-01-19 09:18:58 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-29 23:21:06 -0600 |
commit | 3f61681d402292c562356650eb10f26fff878d51 (patch) | |
tree | bf05f0e72bdf082276c307a01d1265a7178c97f2 /office | |
parent | e7fac27000cff596d4ba32a9d6d6eea431be5eff (diff) |
office/calibre: Updated for version 1.20.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/calibre/calibre.SlackBuild | 9 | ||||
-rw-r--r-- | office/calibre/calibre.info | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild index 9dc5e73706a41..e3dbac7579fb3 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 3f5435a2d1d5a..0cc8c4c574364 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" |