void-packages/srcpkgs/manuskript/template

26 lines
842 B
Bash

# Template file for 'manuskript'
pkgname=manuskript
version=0.7.0
revision=1
noarch=yes
pycompile_dirs="usr/share/$pkgname"
pycompile_version="$py3_ver"
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=1acd6517a2781776e281fa3d5b3ee03a9eb3c9308f87fb2a36e6717d476f0085
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
}