Date: Sunday, August 11, 2019 @ 20:08:13 Author: alad Revision: 498969
archrelease: copy trunk to community-x86_64 Added: sigil/repos/community-x86_64/PKGBUILD (from rev 498968, sigil/trunk/PKGBUILD) sigil/repos/community-x86_64/sigil.install (from rev 498968, sigil/trunk/sigil.install) Deleted: sigil/repos/community-x86_64/PKGBUILD sigil/repos/community-x86_64/sigil.install ---------------+ PKGBUILD | 158 ++++++++++++++++++++++++++------------------------------ sigil.install | 20 +++---- 2 files changed, 86 insertions(+), 92 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-08-11 20:07:52 UTC (rev 498968) +++ PKGBUILD 2019-08-11 20:08:13 UTC (rev 498969) @@ -1,82 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Maintainer: Alad Wenter <a...@mailbox.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> - -pkgname=sigil -pkgver=0.9.16 -pkgrel=2 -pkgdesc="WYSIWYG ebook editor" -arch=('x86_64') -url="https://sigil-ebook.com/" -license=('GPL3') -depends=('hicolor-icon-theme' 'hunspell' 'mathjax' 'minizip' 'python-css-parser' - 'python-lxml' 'qt5-webengine') -makedepends=('qt5-tools' 'cmake') -optdepends=('hunspell-en_US: for English dictionary support' - 'hyphen-en: for English hyphenation support in plugins' - 'pageedit: external editor to replace BookView' - 'python-html5lib: recommended for plugins' - 'python-chardet: recommended for plugins' - 'python-cssselect: recommended for plugins' - 'python-pillow: recommended for plugins' - 'python-regex: recommended for plugins' - 'python-pyqt5: recommended for plugins' - 'tk: recommended for plugins') -install=${pkgname}.install -source=("Sigil-${pkgver}.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz" - "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig" - "https://github.com/Sigil-Ebook/Sigil/commit/aa4f6549554fb99ad062ce501afe23c51530cbf5.patch") -sha256sums=('c28ec5230b9eb708fae795b69777e32eceee94ac26e3ea2838c74ef1e041f638' - 'SKIP' - 'e2df8fb07cfd957ecff31de0a93f90c4a1aaad73f2e6c4df89112bde6e787e5c') -b2sums=('1e784768cfe98e08ac01f5a9c11ec8254f9a0211f69ee1eb479643cc83677f6fea43745bcb158ea178ac64eec87c2e0062e783af2fe7477e2e5e8faf4db24c46' - 'SKIP' - '00e5bda498618d052a8bdda414bab5dc9d58fa54c22c28f7d97d1bc681b1fcbaeb0199e20d1ce4933b7220a1c6ee5ebafeb6f956ea17d4cdc5f5a61833b66faf') -validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmas...@gmail.com> - -prepare() { - cd "${srcdir}"/Sigil-${pkgver} - - # devendor css_parser as it's a direct copy of the external package; - # upstream maintains both and plans to switch soon - rm -r src/Resource_Files/plugin_launchers/python/css_parser/ - - # fix lxml 4.4 incompatibility - patch -p1 -i ../aa4f6549554fb99ad062ce501afe23c51530cbf5.patch -} - -build() { - mkdir -p "${srcdir}"/Sigil-${pkgver}/build - cd "${srcdir}"/Sigil-${pkgver}/build - - cmake -G "Unix Makefiles" \ - -DUSE_SYSTEM_LIBS=1 \ - -DSYSTEM_LIBS_REQUIRED=1 \ - -DINSTALL_BUNDLED_DICTS=0 \ - -DMATHJAX_DIR=/usr/share/mathjax \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ - -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON .. - - make -} - -package() { - cd "${srcdir}"/Sigil-${pkgver}/build - make install DESTDIR="${pkgdir}" - - for _pic in 16 32 48 128 256; do - install -D -m 0644 ../src/Resource_Files/icon/app_icon_${_pic}.png \ - "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png - done - install -Dm644 ../src/Resource_Files/icon/app_icon_128.png \ - "$pkgdir/usr/share/pixmaps/$pkgname.png" - - # Compile python bytecode - python -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} - python -O -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} -} Copied: sigil/repos/community-x86_64/PKGBUILD (from rev 498968, sigil/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-08-11 20:08:13 UTC (rev 498969) @@ -0,0 +1,76 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Maintainer: Alad Wenter <a...@mailbox.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> + +pkgname=sigil +pkgver=0.9.17 +pkgrel=1 +pkgdesc="WYSIWYG ebook editor" +arch=('x86_64') +url="https://sigil-ebook.com/" +license=('GPL3') +depends=('hicolor-icon-theme' 'hunspell' 'mathjax' 'minizip' 'python-css-parser' + 'python-lxml' 'qt5-webengine') +makedepends=('qt5-tools' 'cmake') +optdepends=('hunspell-en_US: for English dictionary support' + 'hyphen-en: for English hyphenation support in plugins' + 'pageedit: external editor to replace BookView' + 'python-html5lib: recommended for plugins' + 'python-chardet: recommended for plugins' + 'python-cssselect: recommended for plugins' + 'python-pillow: recommended for plugins' + 'python-regex: recommended for plugins' + 'python-pyqt5: recommended for plugins' + 'tk: recommended for plugins') +install=${pkgname}.install +source=("Sigil-${pkgver}.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz" + "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig") +sha256sums=('25ef68f979c3daca9b2a869a5ca3919b0a0f965ae2ba176f34ff93a641c3e2b2' + 'SKIP') +b2sums=('fdba78eb1167e97c4190d7ae6d8d6de8055e0cac0e1105a3bdc1ddacbfa2f8403a293018ec464c72b8024f1ef0c1e9b230ca90586fdbb1d2fb3826e0fd327137' + 'SKIP') +validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmas...@gmail.com> + +prepare() { + cd "${srcdir}"/Sigil-${pkgver} + + # devendor css_parser as it's a direct copy of the external package; + # upstream maintains both and plans to switch soon + rm -r src/Resource_Files/plugin_launchers/python/css_parser/ +} + +build() { + mkdir -p "${srcdir}"/Sigil-${pkgver}/build + cd "${srcdir}"/Sigil-${pkgver}/build + + cmake -G "Unix Makefiles" \ + -DUSE_SYSTEM_LIBS=1 \ + -DSYSTEM_LIBS_REQUIRED=1 \ + -DINSTALL_BUNDLED_DICTS=0 \ + -DMATHJAX_DIR=/usr/share/mathjax \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON .. + + make +} + +package() { + cd "${srcdir}"/Sigil-${pkgver}/build + make install DESTDIR="${pkgdir}" + + for _pic in 16 32 48 128 256; do + install -D -m 0644 ../src/Resource_Files/icon/app_icon_${_pic}.png \ + "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png + done + install -Dm644 ../src/Resource_Files/icon/app_icon_128.png \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" + + # Compile python bytecode + python -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} + python -O -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} +} Deleted: sigil.install =================================================================== --- sigil.install 2019-08-11 20:07:52 UTC (rev 498968) +++ sigil.install 2019-08-11 20:08:13 UTC (rev 498969) @@ -1,10 +0,0 @@ -post_upgrade() { - if (( $(vercmp 0.9.13 "$2") > 0 )); then - cat << __EOF__ -Sigil will very possibly not work at first due to bugs in the 0.9.11 - 0.9.12 preferences code. -Please see the following resources for migration instructions: - https://www.mobileread.com/forums/showthread.php?t=315748 - https://github.com/Sigil-Ebook/Sigil/wiki#if-youre-here-because -__EOF__ - fi -} Copied: sigil/repos/community-x86_64/sigil.install (from rev 498968, sigil/trunk/sigil.install) =================================================================== --- sigil.install (rev 0) +++ sigil.install 2019-08-11 20:08:13 UTC (rev 498969) @@ -0,0 +1,10 @@ +post_upgrade() { + if (( $(vercmp 0.9.13 "$2") > 0 )); then + cat << __EOF__ +Sigil will very possibly not work at first due to bugs in the 0.9.11 - 0.9.12 preferences code. +Please see the following resources for migration instructions: + https://www.mobileread.com/forums/showthread.php?t=315748 + https://github.com/Sigil-Ebook/Sigil/wiki#if-youre-here-because +__EOF__ + fi +}