Date: Friday, July 31, 2020 @ 13:08:20 Author: bgyorgy Revision: 666169
Add manuskript Added: manuskript/ manuskript/trunk/ manuskript/trunk/PKGBUILD manuskript/trunk/manuskript.appdata.xml ------------------------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ manuskript.appdata.xml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) Added: manuskript/trunk/PKGBUILD =================================================================== --- manuskript/trunk/PKGBUILD (rev 0) +++ manuskript/trunk/PKGBUILD 2020-07-31 13:08:20 UTC (rev 666169) @@ -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 +} Added: manuskript/trunk/manuskript.appdata.xml =================================================================== --- manuskript/trunk/manuskript.appdata.xml (rev 0) +++ manuskript/trunk/manuskript.appdata.xml 2020-07-31 13:08:20 UTC (rev 666169) @@ -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>
