void-packages/srcpkgs/textosaurus/template
2018-10-11 10:00:02 +02:00

26 lines
984 B
Bash

# Template file for 'textosaurus'
pkgname=textosaurus
version=0.9.9
revision=1
_scommit=80a5f7a7ce2ca109b141b9d3fa0ad49ef9b47cf2
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 <leavitals@gmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/martinrotter/textosaurus"
changelog="https://raw.githubusercontent.com/martinrotter/textosaurus/master/resources/text/CHANGELOG"
distfiles="${homepage}/archive/${version}.tar.gz
https://github.com/martinrotter/scintilla/archive/${_scommit}.tar.gz"
checksum="dd81358be4468504e45ee5f5dd552f2b37fd0b03b1cb3b0b25364a0b3fe9a231
9839bddc36167369196665d7500df65d13f02dbdb977fba59a628e8890f69385"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel"
fi
post_extract() {
cp -Trp ${XBPS_BUILDDIR}/scintilla-${_scommit} ${wrksrc}/src/libtextosaurus/3rd-party/scintilla
}