27 lines
989 B
Bash
27 lines
989 B
Bash
# Template file for 'textosaurus'
|
|
pkgname=textosaurus
|
|
version=0.9.11
|
|
revision=1
|
|
_scommit=b6e583c42b596523aad85906152eb2bcf068f625
|
|
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-or-later"
|
|
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="82093b6c8725d104498ce4a66e4cf5a3aa1f057b34600bd5d67413dce9bff2cf
|
|
fad739e3493dea0f7435114ac936dc255d3b1471bd61c7e7349845ab626b95d9"
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-svg-devel"
|
|
fi
|
|
|
|
post_extract() {
|
|
cp -Trp ${XBPS_BUILDDIR}/scintilla-${_scommit} ${wrksrc}/src/libtextosaurus/3rd-party/scintilla
|
|
}
|