[arch-commits] Commit in (5 files)

Balló György bgyorgy at archlinux.org
Fri Jul 31 16:20:14 UTC 2020


    Date: Friday, July 31, 2020 @ 16:20:13
  Author: bgyorgy
Revision: 666258

Move scenarist from AUR

Added:
  scenarist/
  scenarist/trunk/
  scenarist/trunk/PKGBUILD
  scenarist/trunk/scenarist.appdata.xml
  scenarist/trunk/scenarist.mime.xml

-----------------------+
 PKGBUILD              |   53 ++++++++++++++++++++++++++++++++++++++++++++++++
 scenarist.appdata.xml |   19 +++++++++++++++++
 scenarist.mime.xml    |    7 ++++++
 3 files changed, 79 insertions(+)

Added: scenarist/trunk/PKGBUILD
===================================================================
--- scenarist/trunk/PKGBUILD	                        (rev 0)
+++ scenarist/trunk/PKGBUILD	2020-07-31 16:20:13 UTC (rev 666258)
@@ -0,0 +1,53 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: cyrant <cyrant at tuta dot io>
+
+pkgname=scenarist
+pkgver=0.7.2.rc9i
+pkgrel=1
+pkgdesc='Screenwriting software to create screenplays which oriented at international standards in the field of film production'
+arch=(x86_64)
+url='https://kitscenarist.ru/en/'
+license=(GPL3)
+depends=(hunspell qt5-multimedia qt5-svg qt5-webengine)
+makedepends=(git)
+_commit=acf1a9a8d1a264a67b98033ac8131a733e439ac6  # tags/0.7.2.rc9i
+source=(git+https://github.com/dimkanovikov/KITScenarist.git#commit=$_commit
+        git+https://github.com/dimkanovikov/KITScenaristCore.git
+        scenarist.mime.xml
+        scenarist.appdata.xml)
+sha256sums=('SKIP'
+            'SKIP'
+            '513987794f8ba5a4c12aa2a65314fccdc098f86e616a416977aead29e6545b63'
+            'ae04ebca48b01ef86d913f769ff856e259e7c3f13a75fc4e05cc15487460772b')
+
+pkgver() {
+  cd KITScenarist
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd KITScenarist
+  git submodule init
+  git submodule set-url src/bin/scenarist-core "$srcdir/KITScenaristCore"
+  git submodule update
+
+  # Use system hunspell
+  sed -i '/hunspell/d
+          s/LIBS += -lz/LIBS += -lhunspell -lz/' src/bin/scenarist-desktop.pro \
+                                                 src/libs/libs.pro
+}
+
+build() {
+  cd KITScenarist/src
+  qmake
+  make
+}
+
+package() {
+  cd KITScenarist
+  install -Dm755 build/Release/bin/scenarist-desktop/Scenarist "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 build/Ubuntu/scenarist_amd64/usr/share/applications/$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 build/Ubuntu/scenarist_amd64/usr/share/pixmaps/$pkgname.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
+  install -Dm644 ../$pkgname.mime.xml "$pkgdir/usr/share/mime/packages/$pkgname.xml"
+  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}

Added: scenarist/trunk/scenarist.appdata.xml
===================================================================
--- scenarist/trunk/scenarist.appdata.xml	                        (rev 0)
+++ scenarist/trunk/scenarist.appdata.xml	2020-07-31 16:20:13 UTC (rev 666258)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>ru.kitscenarist.Scenarist</id>
+  <launchable type="desktop-id">scenarist.desktop</launchable>
+  <name>KIT Scenarist</name>
+  <summary>Screenwriting software</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <description>
+    <p>KIT Scenarist is a program for creating screenplays which oriented at international standards in the field of film production. The program is a full-featured studio for creating stories from the birth of the idea and before the transfer of the script to production.</p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://kitscenarist.ru/assets/images/news/cards-filter.jpg</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://github.com/dimkanovikov/KITScenarist/issues</url>
+  <url type="homepage">https://kitscenarist.ru/en/</url>
+</component>

Added: scenarist/trunk/scenarist.mime.xml
===================================================================
--- scenarist/trunk/scenarist.mime.xml	                        (rev 0)
+++ scenarist/trunk/scenarist.mime.xml	2020-07-31 16:20:13 UTC (rev 666258)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+  <mime-type type="application/x-kit-scenarist-project">
+    <comment>KIT Scenarist Project</comment>
+    <glob pattern="*.kitsp"/>
+  </mime-type>
+</mime-info>



More information about the arch-commits mailing list