[arch-commits] Commit in manuskript (4 files)

Balló György bgyorgy at archlinux.org
Fri Jul 31 13:09:59 UTC 2020


    Date: Friday, July 31, 2020 @ 13:09:58
  Author: bgyorgy
Revision: 666170

archrelease: copy trunk to community-any

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

------------------------+
 PKGBUILD               |   39 +++++++++++++++++++++++++++++++++++++++
 manuskript.appdata.xml |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: manuskript/repos/community-any/PKGBUILD (from rev 666169, manuskript/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2020-07-31 13:09:58 UTC (rev 666170)
@@ -0,0 +1,39 @@
+# 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/manuskript.appdata.xml (from rev 666169, manuskript/trunk/manuskript.appdata.xml)
===================================================================
--- repos/community-any/manuskript.appdata.xml	                        (rev 0)
+++ repos/community-any/manuskript.appdata.xml	2020-07-31 13:09:58 UTC (rev 666170)
@@ -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