void-packages/srcpkgs/plover/template

27 lines
1.1 KiB
Bash

# Template file for 'plover'
pkgname=plover
reverts="4.0.0.dev12_1"
version=4.0.0rc2
revision=1
build_style=python3-module
# https://github.com/openstenoproject/plover/discussions/1587
make_check_args="-k not(test_readonly_readonly_file)"
hostmakedepends="python3-PyQt5-devel-tools python3-setuptools python3-wheel
python3-Babel"
depends="python3-PyQt5 python3-appdirs python3-xlib python3-wcwidth
python3-rtf_tokenize python3-pyserial python3-plover_stroke"
checkdepends="${depends} python3-pytest python3-pytest-qt"
short_desc="Open source stenotype engine"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.openstenoproject.org/plover/"
changelog="https://github.com/openstenoproject/plover/raw/main/NEWS.md"
distfiles="https://github.com/openstenoproject/plover/releases/download/v${version}/plover-${version}.tar.gz"
checksum=0a3e76f92d3a7231e3d3ab8b54f5d5a0adbf7fb1024d5f0c8ea9a38d969ba2c5
post_install() {
vinstall linux/plover.desktop 644 usr/share/applications
vinstall plover/assets/plover-icon.svg 644 usr/share/pixmaps plover.svg
vinstall plover/assets/plover.png 644 usr/share/pixmaps
}