summaryrefslogtreecommitdiff
path: root/libre/calibre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/calibre/PKGBUILD')
-rw-r--r--libre/calibre/PKGBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/libre/calibre/PKGBUILD b/libre/calibre/PKGBUILD
index 8c8f3871e..83bc703ad 100644
--- a/libre/calibre/PKGBUILD
+++ b/libre/calibre/PKGBUILD
@@ -5,27 +5,25 @@
# Contributor (Arch): Andrea Fagiani <andfagiani _at_ gmail dot com>
# Contributor (Arch): Larry Hajali <larryhaja@gmail.com>
# Contributor (Arch): Eli Schwartz <eschwartz93@gmail.com>
-# Contributor: André Silva <emulatorman@riseup.net>
-# Contributor: Márcio Silva <coadde@riseup.net>
# Contributor: David P.<megver83@parabola.nu>
# Maintainer: Jesús E.<heckyel@parabola.nu>
pkgname=calibre
-_commit=e3d96a82f7b4481b39fa778bceda9322865067f0
-pkgver=3.2.1
+_commit="3962610aa1f2a9789656a9ea26b0753ab0b129dc"
+pkgver=3.7.0
pkgrel=1.parabola1
pkgdesc="Ebook management application, without nonfree decompression engine for RAR archives"
arch=('x86_64' 'i686' 'armv7h')
url="https://calibre-ebook.com/"
license=('GPL3')
-depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy'
- 'python2-mechanize' 'podofo' 'libwmf'
- 'chmlib' 'python2-lxml' 'libusbx'
- 'python2-pillow' 'shared-mime-info' 'python2-dnspython'
- 'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-dbus'
- 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit'
- 'qt5-svg' 'python2-chardet' 'python2-msgpack' 'python2-regex' 'python2-pygments' 'mtdev'
- 'desktop-file-utils' 'gtk-update-icon-cache' 'optipng' 'udisks2')
+depends=('chmlib' 'desktop-file-utils' 'gtk-update-icon-cache' 'icu'
+ 'libmtp' 'libusbx' 'libwmf' 'mtdev' 'optipng' 'podofo' 'python2-apsw'
+ 'python2-chardet' 'python2-cssselect' 'python2-cssutils' 'python2-dateutil'
+ 'python2-dbus' 'python2-dnspython' 'python2-dukpy' 'python2-html5-parser'
+ 'python2-lxml' 'python2-mechanize' 'python2-msgpack' 'python2-netifaces'
+ 'python2-pillow' 'python2-psutil' 'python2-pygments' 'python2-pyqt5'
+ 'python2-regex' 'python2-six' 'qt5-svg' 'qt5-webkit' 'shared-mime-info'
+ 'udisks2')
makedepends=('qt5-x11extras' 'xdg-utils')
optdepends=('ipython2: to use calibre-debug'
'poppler: required for converting pdf to html')
@@ -33,7 +31,7 @@ replaces=($pkgname-libre)
conflicts=($pkgname-libre)
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/Megver83/calibre/repository/archive.tar.gz?ref=$pkgver"
"$pkgname-$pkgver.tar.gz.sig::https://gitlab.com/Megver83/calibre/raw/signatures/$pkgname-$pkgver-${_commit}.tar.gz.sig")
-sha512sums=('4644205ef8ddcc068f39723515f17141d02f998261e82bc5e8a6a31db98e83894d3d357f4a59cc518ae498d57bb87aafd42c68756824f8f1bed0b63e9a1fe220'
+sha512sums=('a8f5dc50d8419497edd74eb1f987f553455684a6eba22daa0a8b2b6b24fe3776a321f20b188b8609456397f79e43a5f0303b5987ede95a95ca277b982175a510'
'SKIP')
validpgpkeys=('6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P.
'916FFBC76D2E641BA416BA53364F4E1483446AC5' # Jesús E.
@@ -43,6 +41,7 @@ prepare() {
mv "$pkgname-$pkgver-${_commit}" "$pkgname-$pkgver"
cd "${pkgname}-${pkgver}"
+
# Desktop integration (e.g. enforce arch defaults)
sed -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \
-e "/cc(\['xdg-desktop-menu', 'forceupdate'\])/d" \
@@ -71,8 +70,9 @@ package() {
XDG_DATA_DIRS="${pkgdir}/usr/share" LANG='en_US.UTF-8' \
python2 setup.py install --staging-root="${pkgdir}/usr" --prefix=/usr
+ cp -a man-pages/ "${pkgdir}/usr/share/man"
+
# Compiling bytecode FS#33392
python2 -m compileall "${pkgdir}/usr/lib/calibre/"
python2 -O -m compileall "${pkgdir}/usr/lib/calibre/"
}
-