[arch-commits] Commit in manuskript/repos/community-any (4 files)

Balló György bgyorgy at archlinux.org
Mon May 31 09:12:57 UTC 2021


    Date: Monday, May 31, 2021 @ 09:12:57
  Author: bgyorgy
Revision: 952045

archrelease: copy trunk to community-any

Added:
  manuskript/repos/community-any/PKGBUILD
    (from rev 952044, manuskript/trunk/PKGBUILD)
  manuskript/repos/community-any/manuskript.appdata.xml
    (from rev 952044, manuskript/trunk/manuskript.appdata.xml)
Deleted:
  manuskript/repos/community-any/PKGBUILD
  manuskript/repos/community-any/manuskript.appdata.xml

------------------------+
 PKGBUILD               |   83 ++++++++++++++++++++++++-----------------------
 manuskript.appdata.xml |   66 ++++++++++++++++++-------------------
 2 files changed, 77 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-31 09:12:50 UTC (rev 952044)
+++ PKGBUILD	2021-05-31 09:12:57 UTC (rev 952045)
@@ -1,39 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=manuskript
-pkgver=0.11.0
-pkgrel=1
-pkgdesc="Provides a rich environment to help writers create their first draft and then further refine and edit their masterpiece"
-arch=(any)
-url="https://www.theologeek.ch/manuskript/"
-license=(GPL3)
-depends=(hicolor-icon-theme python-lxml python-markdown python-pyenchant python-pyqt5 qt5-svg)
-optdepends=('qt5-webengine: preview PDF export'
-            'pandoc: export to various formats'
-            'pdfjs: preview PDF export')
-source=(https://github.com/olivierkes/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz
-        manuskript.appdata.xml)
-sha256sums=('bed0114c5d7787df07b420aa4909a7ae216e1581147058e03fda4c07deef8ef8'
-            '6b58aeec4b6d2c3e8ec0465f234f45b1ee5d489ea874229239f4e66ea8dfcdec')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  sed -i "s|\"+appPath('libs/pdf.js/web/viewer.html')|/usr/share/pdf.js/web/viewer.html\"|" manuskript/ui/views/PDFViewer.py
-  rm -r libs/pdf.js
-  sed -i 's|Icon=.*|Icon=manuskript|' package/create_deb/manuskript.desktop
-
-}
-
-package() {
-  cd $pkgname-$pkgver
-  install -dm755 "$pkgdir/usr/share/manuskript/"
-  cp -r manuskript icons i18n sample-projects resources "$pkgdir/usr/share/manuskript/"
-  install -Dm755 package/create_deb/manuskript "$pkgdir/usr/bin/manuskript"
-  install -Dm644 package/create_deb/manuskript.desktop "$pkgdir/usr/share/applications/manuskript.desktop"
-  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
-  install -Dm644 icons/Manuskript/manuskript.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/manuskript.svg"
-
-  for i in 16 32 64 128 256 512; do
-    install -Dm644 icons/Manuskript/icon-${i}px.png "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/manuskript.png"
-  done
-}

Copied: manuskript/repos/community-any/PKGBUILD (from rev 952044, manuskript/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-31 09:12:57 UTC (rev 952045)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=manuskript
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='Provides a rich environment to help writers create their first draft and then further refine and edit their masterpiece'
+arch=('any')
+url='https://www.theologeek.ch/manuskript/'
+license=('GPL3')
+depends=('hicolor-icon-theme' 'python-lxml' 'python-markdown' 'python-pyenchant' 'python-pyqt5'
+         'qt5-svg')
+optdepends=('qt5-webengine: preview PDF export'
+            'pandoc: export to various formats'
+            'pdfjs: preview PDF export')
+source=("https://github.com/olivierkes/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        'manuskript.appdata.xml')
+sha256sums=('72e5f8111573ad110f43ba385f7346243bd0823ad1f910e38929b24cb77289ea'
+            '6b58aeec4b6d2c3e8ec0465f234f45b1ee5d489ea874229239f4e66ea8dfcdec')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Unbundle pdfjs
+  sed -i "s|\"+appPath('libs/pdf.js/web/viewer.html')|/usr/share/pdf.js/web/viewer.html\"|" manuskript/ui/views/PDFViewer.py
+  rm -r libs/pdf.js
+
+  # Use themed icon
+  sed -i 's|Icon=.*|Icon=manuskript|' package/create_deb/manuskript.desktop
+
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -dm755 "$pkgdir/usr/share/manuskript/"
+  cp -r manuskript icons i18n sample-projects resources "$pkgdir/usr/share/manuskript/"
+  install -Dm755 package/create_deb/manuskript "$pkgdir/usr/bin/manuskript"
+  install -Dm644 package/create_deb/manuskript.desktop "$pkgdir/usr/share/applications/manuskript.desktop"
+  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+  install -Dm644 icons/Manuskript/manuskript.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/manuskript.svg"
+
+  for i in 16 32 64 128 256 512; do
+    install -Dm644 icons/Manuskript/icon-${i}px.png "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/manuskript.png"
+  done
+}

Deleted: manuskript.appdata.xml
===================================================================
--- manuskript.appdata.xml	2021-05-31 09:12:50 UTC (rev 952044)
+++ manuskript.appdata.xml	2021-05-31 09:12:57 UTC (rev 952045)
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component type="desktop-application">
-  <id>ch.theologeek.manuskript</id>
-  <launchable type="desktop-id">manuskript.desktop</launchable>
-  <name>Manuskript</name>
-  <summary>An open source tool for writers</summary>
-  <metadata_license>CC0-1.0</metadata_license>
-  <project_license>GPL-3.0</project_license>
-  <description>
-    <p>Manuskript provides a rich environment to help writers create their first draft and then further refine and edit their masterpiece.</p>
-    <p>With Manuskript you can:</p>
-    <ul>
-      <li>Grow your premise from one sentence, to a paragraph, to a full summary</li>
-      <li>Create characters</li>
-      <li>Conceive plots</li>
-      <li>Construct outlines (Outline mode and/or Index cards)</li>
-      <li>Write with focus (Distraction free mode)</li>
-      <li>Build worlds</li>
-      <li>Track items</li>
-      <li>Edit and re-organize chapters and scenes</li>
-      <li>View Story line</li>
-      <li>Compose with fiction or non-fiction templates and writing modes</li>
-      <li>Import and export document formats such as HTML, ePub, OpenDocument, DocX, and more</li>
-    </ul>
-  </description>
-  <screenshots>
-    <screenshot type="default">
-      <image>https://www.theologeek.ch/manuskript/wp-content/uploads/2017/11/manuskript-0.5.0-main-view.jpg</image>
-    </screenshot>
-  </screenshots>
-  <url type="bugtracker">https://github.com/olivierkes/manuskript/issues</url>
-  <url type="homepage">https://www.theologeek.ch/manuskript/</url>
-</component>

Copied: manuskript/repos/community-any/manuskript.appdata.xml (from rev 952044, manuskript/trunk/manuskript.appdata.xml)
===================================================================
--- manuskript.appdata.xml	                        (rev 0)
+++ manuskript.appdata.xml	2021-05-31 09:12:57 UTC (rev 952045)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>ch.theologeek.manuskript</id>
+  <launchable type="desktop-id">manuskript.desktop</launchable>
+  <name>Manuskript</name>
+  <summary>An open source tool for writers</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <description>
+    <p>Manuskript provides a rich environment to help writers create their first draft and then further refine and edit their masterpiece.</p>
+    <p>With Manuskript you can:</p>
+    <ul>
+      <li>Grow your premise from one sentence, to a paragraph, to a full summary</li>
+      <li>Create characters</li>
+      <li>Conceive plots</li>
+      <li>Construct outlines (Outline mode and/or Index cards)</li>
+      <li>Write with focus (Distraction free mode)</li>
+      <li>Build worlds</li>
+      <li>Track items</li>
+      <li>Edit and re-organize chapters and scenes</li>
+      <li>View Story line</li>
+      <li>Compose with fiction or non-fiction templates and writing modes</li>
+      <li>Import and export document formats such as HTML, ePub, OpenDocument, DocX, and more</li>
+    </ul>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://www.theologeek.ch/manuskript/wp-content/uploads/2017/11/manuskript-0.5.0-main-view.jpg</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://github.com/olivierkes/manuskript/issues</url>
+  <url type="homepage">https://www.theologeek.ch/manuskript/</url>
+</component>



More information about the arch-commits mailing list