diff options
author | Eli Schwartz | 2019-12-13 16:34:14 -0500 |
---|---|---|
committer | Eli Schwartz | 2019-12-13 16:34:14 -0500 |
commit | 98cd16d900fc1fc71baa0b2dadf4bab5b04c7f8f (patch) | |
tree | 3950c270fa0c8d1dc3e6ec0239e5b5de26ccce77 /PKGBUILD | |
parent | 8bdf1d6526ed69fe73689b8e37296def14635f2a (diff) | |
download | aur-98cd16d900fc1fc71baa0b2dadf4bab5b04c7f8f.tar.gz |
upgpkg: calibre-git 4.6.0.r6.g15e247f88a-1
re-enable man pages -- the sphinx bug is not fixed, but calibre now
monkey-patches it to make the build succeed.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -10,7 +10,7 @@ pkgbase=calibre-git pkgname=(calibre-common-git calibre-git calibre-python3-git) -pkgver=4.5.0.r38.g281ddb8678 +pkgver=4.6.0.r6.g15e247f88a pkgrel=1 _dictionaries_commit="libreoffice-6.4.0.0.beta1" pkgdesc="Ebook management application" @@ -24,7 +24,7 @@ _py3_deps=("${_py_deps[@]}" 'zeroconf') depends=('chmlib' 'hunspell' 'hyphen' 'icu' 'jxrlib' 'libmtp' 'libusbx' 'libwmf' 'mathjax2' 'mtdev' 'optipng' 'podofo' 'qt5-svg' 'udisks2') makedepends=('git' "${_py_deps[@]/#/python2-}" "${_py3_deps[@]/#/python-}" 'qt5-x11extras' - 'sip' 'xdg-utils' 'rapydscript-ng') #'python2-sphinx') + 'sip' 'xdg-utils' 'rapydscript-ng' 'python2-sphinx') checkdepends=('xorg-server-xvfb') source=("git+https://github.com/kovidgoyal/${pkgbase%-git}.git?signed" "git+https://github.com/kovidgoyal/${pkgbase%-git}-translations.git?signed" @@ -80,13 +80,10 @@ build() { LANG='en_US.UTF-8' python2 setup.py resources \ --path-to-mathjax /usr/share/mathjax2 --system-mathjax \ --path-to-hyphenation "${srcdir}"/dictionaries-${_dictionaries_commit} + LANG='en_US.UTF-8' python2 setup.py man_pages LANG='en_US.UTF-8' CALIBRE_PY3_PORT=1 python3 setup.py build - # manpages simply don't build at the moment: - # https://github.com/sphinx-doc/sphinx/issues/5150 - #LANG='en_US.UTF-8' python2 setup.py man_pages - # This tries to download new user-agent data, so pre-seed a # recently-generated copy to allow offline builds. cp ../user-agent-data.json resources/ @@ -123,7 +120,7 @@ package_calibre-common-git() { install -Dm755 "${srcdir}"/calibre-alternatives.sh "${pkgdir}"/usr/bin/calibre-alternatives - #cp -a man-pages/ "${pkgdir}/usr/share/man" + cp -a man-pages/ "${pkgdir}/usr/share/man" # not needed at runtime rm -r "${pkgdir}"/usr/share/calibre/rapydscript/ |