void-packages/srcpkgs/deepin-calculator/template

20 lines
721 B
Bash

# Template file for 'deepin-calculator'
pkgname=deepin-calculator
version=1.0.4
revision=1
build_style=qmake
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
makedepends="dtkwidget-devel qt5-svg-devel"
depends="qt5integration"
short_desc="Easy to use Calculator for Deepin"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-calculator"
changelog="https://github.com/linuxdeepin/deepin-calculator/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-calculator/archive/${version}.tar.gz"
checksum=732dc5daa6b35a09d13be05649b6a21e44e42d864869da168f1ca98ce166c9bd
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel"
fi