[arch-commits] Commit in sigil/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Fri Nov 13 19:32:11 UTC 2020


    Date: Friday, November 13, 2020 @ 19:32:10
  Author: eschwartz
Revision: 753963

archrelease: copy trunk to community-x86_64

Added:
  sigil/repos/community-x86_64/PKGBUILD
    (from rev 753962, sigil/trunk/PKGBUILD)
Deleted:
  sigil/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  127 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 61 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 19:31:56 UTC (rev 753962)
+++ PKGBUILD	2020-11-13 19:32:10 UTC (rev 753963)
@@ -1,66 +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.3.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-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=('ac302328f0d0e0144e67bd4cbd7834650eb219f81a623f393271bf6f0686cc56'
-            'SKIP')
-b2sums=('0ded5f2fa4a85a583113d268a0c287727faa9548a95ca3b564efac5db3528e0bf52b0df12f88cda46ae02851b0b85967c23c07cd3cd55073a87bcffbae8dec87'
-        '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 \
-        -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}"
-
-    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 753962, sigil/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-13 19:32:10 UTC (rev 753963)
@@ -0,0 +1,61 @@
+# 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.4.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-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=('5b309098b857619f3c2be227e1187ee0f462019dbb43a88c2e82aeb08ee9bbb6'
+            'SKIP')
+b2sums=('d1eae09ff4c656f4ef9fc3c13c2678de3e59d28f2da894a4f9698ea59c217f98715f39007fe7ca2f871c35838a83359a5a9cd65f461c11c69d42fce7b6ea3836'
+        '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}
+}



More information about the arch-commits mailing list