diff --git a/srcpkgs/flameshot/template b/srcpkgs/flameshot/template new file mode 100644 index 00000000000..449f8b0e5f4 --- /dev/null +++ b/srcpkgs/flameshot/template @@ -0,0 +1,19 @@ +# Template file for 'flameshot' +pkgname=flameshot +version=0.4.0 +revision=1 +build_style=qmake +configure_args="CONFIG+=packaging" +makedepends="qt5-devel" +depends="desktop-file-utils" +maintainer="cr6git " +short_desc="Powerful yet simple to use screenshot software for GNU/Linux" +homepage="https://github.com/lupoDharkael/flameshot" +license="GPL-3" +distfiles="https://github.com/lupoDharkael/flameshot/archive/v${version}.tar.gz" +checksum=2da6e4bd699e10d0bd033497b6e6f564195a53fa79f500f05b20d49c472d4a48 + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-devel" +fi +