diff --git a/srcpkgs/kruler/template b/srcpkgs/kruler/template new file mode 100644 index 0000000000..bf0fbe3ab1 --- /dev/null +++ b/srcpkgs/kruler/template @@ -0,0 +1,17 @@ +# Template file for 'kruler' +pkgname=kruler +version=17.12.0 +revision=1 +build_style=cmake +hostmakedepends="extra-cmake-modules pkg-config" +makedepends="kparts-devel" +short_desc="Screen Ruler" +maintainer="Piotr Wójcik " +license="GPL-2" +homepage="https://www.kde.org/applications/graphics/kruler/" +distfiles="https://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz" +checksum=d29cf96d1eb9636b917e20c3d986ffead774ab29baccc2211d29b42d6b8f6488 + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" kconfig kdoctools python qt5-host-tools qt5-qmake" +fi