[arch-commits] Commit in sigil/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon May 31 01:54:52 UTC 2021
Date: Monday, May 31, 2021 @ 01:54:52
Author: eschwartz
Revision: 951367
archrelease: copy trunk to community-x86_64
Added:
sigil/repos/community-x86_64/PKGBUILD
(from rev 951366, sigil/trunk/PKGBUILD)
Deleted:
sigil/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-31 01:54:35 UTC (rev 951366)
+++ PKGBUILD 2021-05-31 01:54:52 UTC (rev 951367)
@@ -1,61 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Maintainer: Alad Wenter <alad at mailbox.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
-
-pkgname=sigil
-pkgver=1.5.1
-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-dulwich' 'python-lxml' 'qt5-svg' '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')
-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=('ecdb20c90ca4ca9bd9ebee03734ee8c88ac101b0d32cc7ef25ff70960f4e982c'
- 'SKIP')
-b2sums=('ac70c117d69c4062d66151372fc8cbede48be6f38ceae7d1dd1bd49fd8a0a4a352c885a120e00ba729e64ebfa928103d07f7bb85d69cbb3385f640f4fcf42985'
- 'SKIP')
-validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at 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 \
- -DINSTALL_HICOLOR_ICONS=1 \
- -DMATHJAX_DIR=/usr/share/mathjax2 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
- -DCMAKE_SKIP_RPATH=ON ..
-
- make
-}
-
-package() {
- cd "${srcdir}"/Sigil-${pkgver}/build
-
- make install DESTDIR="${pkgdir}"
-
- # 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 951366, sigil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-31 01:54:52 UTC (rev 951367)
@@ -0,0 +1,63 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=1.6.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-dulwich' 'python-lxml' 'qt5-svg' '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'
+ 'python-pyqt5-webengine: recommended for plugins'
+ 'tk: recommended for plugins')
+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=('ea0e41a56fa98d54c61e2148c6d4b152bd50d8faa59a95c148c8b32b058dacda'
+ 'SKIP')
+b2sums=('b200f81d9a1c59e4636e0b863a0f95f137915d00e92b78118a04dfbb14237e68687cd09837c4bdf2133ba74bee9c09842a85528f445a094ea2f72a85722f95b5'
+ 'SKIP')
+validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at 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 \
+ -DINSTALL_HICOLOR_ICONS=1 \
+ -DDISABLE_UPDATE_CHECK=1 \
+ -DMATHJAX_DIR=/usr/share/mathjax2 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
+ -DCMAKE_SKIP_RPATH=ON ..
+
+ make
+}
+
+package() {
+ cd "${srcdir}"/Sigil-${pkgver}/build
+
+ make install DESTDIR="${pkgdir}"
+
+ # 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}
+}
More information about the arch-commits
mailing list