From d286ac1106788cacb5287d325b934b77cbddf362 Mon Sep 17 00:00:00 2001 From: Leandro Vital Date: Sat, 30 Jun 2018 18:19:38 -0300 Subject: [PATCH] New package: textosaurus-0.9.7 (#523) * New package: textosaurus-0.9.7 * textosaurus: removed redundancy qt5-svg-devel on hostmakedepends, modified SPDX compatible license identifier * textosaurus: indent with tabs * Changing sources files to support checksum validation --- srcpkgs/textosaurus/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/textosaurus/template diff --git a/srcpkgs/textosaurus/template b/srcpkgs/textosaurus/template new file mode 100644 index 00000000000..27f8f2eff7c --- /dev/null +++ b/srcpkgs/textosaurus/template @@ -0,0 +1,26 @@ +# Template file for 'textosaurus' + +pkgname=textosaurus +version=0.9.7 +revision=1 +_scommit=24d3deb8bea74458224a2cdfc384a6971822448e +build_style=qmake +hostmakedepends="pkg-config qt5-tools" +makedepends="qt5-svg-devel" +depends="qt5-svg" +short_desc="Simple cross-platform text editor based on Qt and Scintilla" +maintainer="Leandro Vital " +license="GPL-3.0-only" +homepage="https://github.com/martinrotter/textosaurus" +distfiles="${homepage}/archive/${version}.tar.gz + https://github.com/martinrotter/scintilla/archive/${_scommit}.tar.gz" +checksum="73778d2e9de4cc4cf233f3b2832d9323e6586563746c7a2352813da62253ce18 + f9d3e1716417eacbe8128df2140a303a75734e9bf53731763d9c7be264249e75" + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-svg-devel" +fi + +post_extract() { + cp -Trp ${XBPS_BUILDDIR}/scintilla-${_scommit} ${wrksrc}/src/libtextosaurus/3rd-party/scintilla +}