diff --git a/srcpkgs/deepin-system-monitor/template b/srcpkgs/deepin-system-monitor/template new file mode 100644 index 0000000000..aa581d86fe --- /dev/null +++ b/srcpkgs/deepin-system-monitor/template @@ -0,0 +1,20 @@ +# Template file for 'deepin-system-monitor' +pkgname=deepin-system-monitor +version=1.4.4 +revision=1 +build_style=qmake +hostmakedepends="qt5-qmake pkg-config qt5-host-tools" +makedepends="dtkwm-devel dtkwidget-devel qt5-x11extras-devel libpcap-devel + procps-ng-devel libxcb-devel libXtst-devel xcb-util-devel" +depends="qt5integration" +short_desc="User-friendly system monitor for Deepin" +maintainer="John " +license="GPL-3.0-or-later" +homepage="https://github.com/manateelazycat/deepin-system-monitor" +changelog="https://github.com/linuxdeepin/deepin-system-monitor/blob/${version}/CHANGELOG.md" +distfiles="https://github.com/manateelazycat/deepin-system-monitor/archive/${version}.tar.gz" +checksum=b78fe39ea19b9c7523036ef95e5bfc602ac953573597725ce956044aaabbe4c5 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-x11extras-devel" +fi