void-packages/srcpkgs/manuskript/template
2021-10-09 08:01:39 -04:00

26 lines
899 B
Bash

# Template file for 'manuskript'
pkgname=manuskript
version=0.12.0
revision=3
pycompile_dirs="usr/share/${pkgname}"
hostmakedepends="python3-setuptools"
depends="python3-enchant python3-lxml python3-Markdown python3-PyQt5 qt5-svg"
short_desc="Open source tool for writers"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://www.theologeek.ch/manuskript"
distfiles="https://github.com/olivierkes/manuskript/archive/${version}.tar.gz"
checksum=72e5f8111573ad110f43ba385f7346243bd0823ad1f910e38929b24cb77289ea
python_version=3
do_install() {
vmkdir usr/share/manuskript
for dir in bin i18n icons libs manuskript resources sample-projects ; do
vcopy $dir usr/share/manuskript
done
vmkdir usr/bin
ln -sf /usr/share/manuskript/bin/manuskript ${DESTDIR}/usr/bin/manuskript
vinstall package/create_deb/manuskript.desktop 0644 usr/share/applications
}