void-packages/srcpkgs/actiona/template
2019-12-11 00:13:01 +01:00

30 lines
1 KiB
Bash

# Template file for 'actiona'
pkgname=actiona
version=3.10.0
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-speech-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=7f7a6ecef82ec51fc5d92e41a9d39d1de190135b1fb6293318feb1d88ceb8757
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-multimedia-devel qt5-script-devel qt5-speech-devel"
hostmakedepends+=" qt5-tools-devel qt5-x11extras-devel qt5-xmlpatterns-devel"
fi
post_build() {
lrelease locale/*.ts
}
post_install() {
vmkdir usr/share/applications
vinstall ${FILESDIR}/actiona.desktop 644 usr/share/applications
}