1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: cyrant <cyrant at tuta dot io>
7 pkgdesc='Screenwriting software to create screenplays which oriented at international standards in the field of film production'
9 url='https://kitscenarist.ru/en/'
11 depends=('hunspell' 'qt5-multimedia' 'qt5-svg' 'qt5-webengine')
13 _commit=70ebff68c67242ee4f9a5d1f6397f00d0dd471ff
14 source=("git+https://github.com/dimkanovikov/KITScenarist.git#commit=$_commit"
15 'git+https://github.com/dimkanovikov/KITScenaristCore.git'
17 'scenarist.appdata.xml')
20 '513987794f8ba5a4c12aa2a65314fccdc098f86e616a416977aead29e6545b63'
21 'ae04ebca48b01ef86d913f769ff856e259e7c3f13a75fc4e05cc15487460772b')
25 git describe --tags | sed 's/-/+/g'
31 git submodule set-url src/bin/scenarist-core "$srcdir/KITScenaristCore"
36 s/LIBS += -lz/LIBS += -lhunspell -lz/' src/bin/scenarist-desktop.pro \
48 install -Dm755 build/Release/bin/scenarist-desktop/Scenarist "$pkgdir/usr/bin/$pkgname"
49 install -Dm644 build/Ubuntu/scenarist_amd64/usr/share/applications/$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
50 install -Dm644 build/Ubuntu/scenarist_amd64/usr/share/pixmaps/$pkgname.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
51 install -Dm644 ../$pkgname.mime.xml "$pkgdir/usr/share/mime/packages/$pkgname.xml"
52 install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"