Date: Wednesday, December 18, 2019 @ 02:53:21 Author: eschwartz Revision: 538010
archrelease: copy trunk to community-x86_64 Added: sigil/repos/community-x86_64/PKGBUILD (from rev 538009, sigil/trunk/PKGBUILD) sigil/repos/community-x86_64/sigil.install (from rev 538009, sigil/trunk/sigil.install) Deleted: sigil/repos/community-x86_64/PKGBUILD sigil/repos/community-x86_64/sigil.install ---------------+ PKGBUILD | 136 ++++++++++++++++++++++++++++---------------------------- sigil.install | 20 ++++---- 2 files changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-18 02:53:04 UTC (rev 538009) +++ PKGBUILD 2019-12-18 02:53:21 UTC (rev 538010) @@ -1,68 +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.18 -pkgrel=3 -pkgdesc="multi-platform EPUB2/EPUB3 ebook editor" -arch=('x86_64') -url="https://sigil-ebook.com/" -license=('GPL3') -depends=('hicolor-icon-theme' 'hunspell' 'mathjax2' '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=('d4ac2d178fd154d9892fcb552304b20fc12d9eb4b2be5a222c6421c18720cca6' - 'SKIP') -b2sums=('a20a1465032371f9d7e567fff03c859adf4bd2264e9d803efeb3bdeb3b097eca826daa36824370848aea50fffb2b2b74b28568f7dca926565dfd0948d7ade030' - 'SKIP') -validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmas...@gmail.com> - -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/mathjax2 \ - -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 538009, sigil/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-18 02:53:21 UTC (rev 538010) @@ -0,0 +1,68 @@ +# 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=1.0.0 +pkgrel=1 +pkgdesc="multi-platform EPUB2/EPUB3 ebook editor" +arch=('x86_64') +url="https://sigil-ebook.com/" +license=('GPL3') +depends=('hicolor-icon-theme' 'hunspell' 'mathjax2' '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=('431c25791c1bdfa0397a1473aa014727d40b2def7e6be236b23ef98a495b1b10' + 'SKIP') +b2sums=('5772316d3ffc78387f7fb9db1e88397756bf82c25513246033fe71f288d619844e9316f43b7f08b914e4f59912e42eea061079cd4b468de77087bf7a8ea46be0' + 'SKIP') +validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmas...@gmail.com> + +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/mathjax2 \ + -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-12-18 02:53:04 UTC (rev 538009) +++ sigil.install 2019-12-18 02:53:21 UTC (rev 538010) @@ -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 538009, sigil/trunk/sigil.install) =================================================================== --- sigil.install (rev 0) +++ sigil.install 2019-12-18 02:53:21 UTC (rev 538010) @@ -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 +}