Merge pull request #7241 from cr6git/Notepadqq

New package: notepadqq
This commit is contained in:
Enno Boland 2017-08-31 13:41:35 +02:00 committed by GitHub
commit c1c578562f

View file

@ -0,0 +1,28 @@
# Template file for 'notepadqq'
pkgname=notepadqq
version=1.0.1
revision=1
_Code_commit=d790fc39c1a5f06aa66415110b8ebe3026df665a
build_style=qmake
hostmakedepends="pkg-config qt5-tools"
makedepends="qt5-svg-devel qt5-webkit-devel"
depends="desktop-file-utils hicolor-icon-theme"
maintainer="cr6git <quark6@protonmail.com>"
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="552f274b9c9d3d48e2e55462f33aea8df8ebd0f421b0d7a23b78a46693fbed34
f3b23a367f9070d19bbc3d2d48dab4839b436ada15f2b26f1b4a7a599883642c"
create_wrksrc=yes
build_wrksrc="notepadqq-${version}"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel qt5-webkit-devel"
fi
post_extract() {
mv -Tv CodeMirror-${_Code_commit} ${build_wrksrc}/src/editor/libs/codemirror
}