void-packages/srcpkgs/actiona/template

27 lines
982 B
Bash

# Template file for 'actiona'
pkgname=actiona
version=3.9.4
revision=1
build_style=qmake
hostmakedepends="pkg-config qt5-plugin-mysql qt5-qmake"
makedepends="boost-devel libnotify-devel libopencv-devel pulseaudio-devel
qt5-multimedia-devel qt5-script-devel qt5-tools-devel qt5-x11extras-devel
qt5-xmlpatterns-devel"
depends="qt5-plugin-mysql"
short_desc="Cross platform automation tool"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3.0-or-later"
homepage="https://actiona.tools/"
distfiles="https://github.com/Jmgr/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=e2537852548d34fa7407324b40b000ef30d8e5deef310ece7a4f938b6be3f185
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-multimedia-devel qt5-script-devel"
hostmakedepends+=" qt5-tools-devel qt5-x11extras-devel qt5-xmlpatterns-devel"
fi
post_install() {
vmkdir usr/share/applications
vinstall ${FILESDIR}/actiona.desktop 644 usr/share/applications
}