Browse Source

xap/calibre: Upgraded to calibre-2.85.1.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
a44309527b
  1. 1
      xap/calibre/calibre-2.85.1.tar.bz2.sha256
  2. 29
      xap/calibre/calibre.SlackBuild

1
xap/calibre/calibre-2.85.1.tar.bz2.sha256

@ -0,0 +1 @@
8c8db280c51b26284bff1c066fb503ecef9e1f15f7e2e7b4f705c817ee041abd calibre-2.85.1.tar.bz2

29
xap/calibre/calibre.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2014 Damien Goutte-Gattat
# Copyright (C) 2012,2014,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,12 +26,13 @@
# <http://calibre-ebook.com/>.
#
# Depends: l/dnspython, l/python-cssutils, l/python-dateutil
# Depends: l/python-lxml, l/python-mechanize, l/python-netifaces
# Depends: l/python-psutil, l/podofo, l/apsw
# Depends: l/msgpack-python, l/pygments, l/pycrypto, l/apsw, l/libwebp
# Depends: l/python-lxml, l/python-netifaces, l/python-psutil, l/podofo
# Depends: l/PyQt5, ap/optipng, l/easylzma
# Source package infos
NAMESRC=${NAMESRC:-calibre}
VERSION=${VERSION:-1.41.0}
VERSION=${VERSION:-2.85.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
# Build infos
@ -77,6 +78,7 @@ esac
if [ ! -f $ARCHIVE ]; then
curl -L http://status.calibre-ebook.com/dist/src > $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -104,6 +106,25 @@ install -m 644 COPYRIGHT Changelog.old.yaml Changelog.yaml LICENSE \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
PyQt5
apsw
dnspython
easylzma
libwebp
msgpack-python
optipng
podofo
pycrypto
pygments
python-cssutils
python-dateutil
python-lxml
python-netifaces
python-psutil
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save