diff options
Diffstat (limited to 'libre/calibre')
-rw-r--r-- | libre/calibre/PKGBUILD | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/libre/calibre/PKGBUILD b/libre/calibre/PKGBUILD index 00aa67f40..29fae591f 100644 --- a/libre/calibre/PKGBUILD +++ b/libre/calibre/PKGBUILD @@ -10,8 +10,8 @@ # Contributor: Márcio Silva <coadde@parabola.nu> pkgname=calibre -pkgver=2.82.0 -pkgrel=1.parabola2 +pkgver=2.83.0 +pkgrel=2.parabola1 pkgdesc="Ebook management application, without nonfree decompression engine for RAR archives" arch=('i686' 'x86_64' 'armv7h') url="https://calibre-ebook.com/" @@ -23,7 +23,7 @@ depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' 'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-dbus' 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit' 'qt5-svg' 'python2-chardet' 'python2-pygments' 'mtdev' - 'desktop-file-utils' 'gtk-update-icon-cache' 'optipng' 'udisks2' 'mesa') + 'desktop-file-utils' 'gtk-update-icon-cache' 'optipng' 'udisks2') makedepends=('qt5-x11extras' 'xdg-utils') optdepends=('ipython2: to use calibre-debug' 'poppler: required for converting pdf to html' @@ -31,17 +31,11 @@ optdepends=('ipython2: to use calibre-debug' replaces=($pkgname-libre) conflicts=($pkgname-libre) mksource=("http://download.$pkgname-ebook.com/${pkgver}/$pkgname-${pkgver}.tar.xz" - "https://calibre-ebook.com/signatures/${pkgname}-${pkgver}.tar.xz.sig") -source=("https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.tar.xz" - 'libre.patch' - '0001-Remove-new_version_notification.patch' - '0001-Remove-code-that-contacts-calibre-servers-to-check-u.patch') -mksha256sums=('137995abe467fcb951c1d42583305ebec7b8ca403c44895e70f82a2d6156711c' - 'SKIP') -sha256sums=('4da07053bddca0c49c3bf315397f3f1dff319f74e63e8a961c3906e0eca4eb7d' - '9d57abfff30e0b02128aa32ee41e095ab9f16b52c358fda68b3cae3ab8b485b9' - '26bfd44cd360df3aff927c4834e1622fb16a89169a8cce4f68ea19b87e9e867b' - 'bed99658f2545ec3112710d72a70b30ffaeddd03c12d51cfc2ee0972d2697e8b') + "https://calibre-ebook.com/signatures/${pkgname}-${pkgver}.tar.xz.sig" + 'libre.patch' + '0001-Remove-new_version_notification.patch' + '0001-Remove-code-that-contacts-calibre-servers-to-check-u.patch') +source=("https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.tar.xz"{,.sig}) validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') mksource(){ @@ -49,10 +43,6 @@ mksource(){ # Remove nonfree unRAR utility files from the source rm -rv src/unrar -} - -prepare(){ - cd "${pkgname}-${pkgver}" # Remove nonfree rar/cbr support and references rm -v src/calibre/{ebooks/metadata/rar.py,utils/unrar.{cpp,py}} @@ -61,6 +51,10 @@ prepare(){ patch -Np1 -i "${srcdir}/libre.patch" patch -Np1 -i "${srcdir}/0001-Remove-new_version_notification.patch" patch -Np1 -i "${srcdir}/0001-Remove-code-that-contacts-calibre-servers-to-check-u.patch" +} + +prepare(){ + cd "${pkgname}-${pkgver}" # Remove unneeded files and libs # FIXME: remove html5lib too, but the latest html5lib breaks calibre. And calibre |