aboutsummaryrefslogtreecommitdiff
path: root/office/calibre/calibre.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-01-19 09:18:58 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:06 -0600
commit3f61681d402292c562356650eb10f26fff878d51 (patch)
treebf05f0e72bdf082276c307a01d1265a7178c97f2 /office/calibre/calibre.SlackBuild
parente7fac27000cff596d4ba32a9d6d6eea431be5eff (diff)
office/calibre: Updated for version 1.20.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/calibre/calibre.SlackBuild')
-rw-r--r--office/calibre/calibre.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
index 9dc5e73706a4..e3dbac7579fb 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 \