From f46ea3d30e4b532e4789464aaeaca39f5d66fdc5 Mon Sep 17 00:00:00 2001 From: cr6git Date: Sun, 15 Oct 2017 21:40:58 +0200 Subject: [PATCH] notepadqq: update to 1.2.0 Closes #8189. --- srcpkgs/notepadqq/template | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/srcpkgs/notepadqq/template b/srcpkgs/notepadqq/template index 09fccb871d..acd3c4b121 100644 --- a/srcpkgs/notepadqq/template +++ b/srcpkgs/notepadqq/template @@ -1,24 +1,19 @@ # Template file for 'notepadqq' pkgname=notepadqq -version=1.0.1 +version=1.2.0 revision=1 -_Code_commit=d790fc39c1a5f06aa66415110b8ebe3026df665a build_style=qmake -hostmakedepends="pkg-config qt5-tools qt5-svg-devel qt5-webkit-devel" +hostmakedepends="pkg-config qt5-tools" makedepends="qt5-svg-devel qt5-webkit-devel" depends="desktop-file-utils hicolor-icon-theme" maintainer="cr6git " short_desc="Text editor for developers" homepage="http://notepadqq.altervista.org/s/" license="GPL-3" -distfiles="https://github.com/notepadqq/notepadqq/archive/v${version}.tar.gz - https://github.com/notepadqq/CodeMirror/archive/${_Code_commit}.tar.gz" -checksum="361ff29e1ef0dbe70e23b7fc1905da5cd163164d3e0a0bb020ecc5bdc5cf6a80 - f3b23a367f9070d19bbc3d2d48dab4839b436ada15f2b26f1b4a7a599883642c" -create_wrksrc=yes -build_wrksrc="notepadqq-${version}" +distfiles="https://github.com/notepadqq/notepadqq/archive/v${version}.tar.gz" +checksum=423d224724deb5298837327ce7efa0d71dbe73693c783241eeb7bb2327ee97d4 -post_extract() { - mv -Tv CodeMirror-${_Code_commit} ${build_wrksrc}/src/editor/libs/codemirror -} +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-svg-devel qt5-webkit-devel" +fi