New package: ksnip-1.5.0

resolves #14052
This commit is contained in:
John 2019-08-29 21:10:50 +02:00 committed by John Zimmermann
parent ac7df50c2d
commit ce3c61db48
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- src/CMakeLists.txt 2019-03-14 18:04:48.000000000 +0100
+++ - 2019-08-29 21:09:44.259815517 +0200
@@ -109,5 +109,6 @@
endif ()
if (UNIX AND NOT APPLE)
- install(TARGETS ksnip RUNTIME DESTINATION /bin)
+ include (GNUInstallDirs)
+ install(TARGETS ksnip RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif ()

14
srcpkgs/ksnip/template Normal file
View file

@ -0,0 +1,14 @@
# Template file for 'ksnip'
pkgname=ksnip
version=1.5.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-x11extras-devel qt5-tools-devel libXfixes-devel
kImageAnnotator-devel kColorPicker-devel"
short_desc="Qt based cross-platform screenshot tool with annotation features"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/DamirPorobic/ksnip"
distfiles="https://github.com/DamirPorobic/ksnip/archive/v${version}.tar.gz"
checksum=d235b201717b0a058f93ebfb592140b0eb36a2222f7a21cc0694c50fd215c6ca