[arch-commits] Commit in sigil/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Feb 24 12:18:18 UTC 2022
Date: Thursday, February 24, 2022 @ 12:18:17
Author: alerque
Revision: 1136411
archrelease: copy trunk to community-x86_64
Added:
sigil/repos/community-x86_64/PKGBUILD
(from rev 1136410, sigil/trunk/PKGBUILD)
Deleted:
sigil/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 73 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-24 12:18:02 UTC (rev 1136410)
+++ PKGBUILD 2022-02-24 12:18:17 UTC (rev 1136411)
@@ -1,63 +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.8.0
-pkgrel=2
-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=('33d84331f259ab8d92fc2c5fed6f05fd5f011695c48f83537423635a7afdd2ec'
- 'SKIP')
-b2sums=('78615652859d1f61bab18b1b248d342dc6892943a2310659859ab577981c4452fbaeb567758097427453c8dfe95e42b499616a423b5c11b42238f763ac0653c8'
- '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}
-}
Copied: sigil/repos/community-x86_64/PKGBUILD (from rev 1136410, sigil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-24 12:18:17 UTC (rev 1136411)
@@ -0,0 +1,73 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Alad Wenter <alad at mailbox.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=1.9.0
+pkgrel=1
+pkgdesc='multi-platform EPUB2/EPUB3 ebook editor'
+arch=('x86_64')
+url=https://sigil-ebook.com
+_url=https://github.com/Sigil-Ebook/Sigil
+license=(GPL3)
+depends=(hicolor-icon-theme
+ hunspell
+ mathjax2
+ minizip
+ python-css-parser
+ python-dulwich
+ python-lxml
+ qt5-svg
+ qt5-webengine)
+makedepends=(cmake
+ qt5-tools)
+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')
+_archive="${pkgname^}-$pkgver"
+source=("$_url/archive/$pkgver/$_archive.tar.gz"
+ "$_url/releases/download/${pkgver}/$_archive.tar.gz.sig")
+sha256sums=('c44b0cf2472ef59c4d76178883a7795af39febf32496fb7af1e34f7a3977791f'
+ 'SKIP')
+b2sums=('9d384fbc6479c062d939a15b77a216a658216d9fefcf7f37fce806a5406670156ca204b4390c46b6475a53d74cb3c4e2f0589ac3925beab2626659a2b224a06e'
+ 'SKIP')
+validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at gmail.com>
+
+prepare() {
+ cd "$_archive"
+ mkdir -p build
+}
+
+build() {
+ cd "$_archive/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 "$_archive/build"
+ make install DESTDIR="$pkgdir"
+ 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