2018-06-30 23:19:38 +02:00
|
|
|
# Template file for 'textosaurus'
|
|
|
|
pkgname=textosaurus
|
2018-08-08 23:58:18 +02:00
|
|
|
version=0.9.8
|
2018-06-30 23:19:38 +02:00
|
|
|
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 <leavitals@gmail.com>"
|
|
|
|
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"
|
2018-08-08 23:58:18 +02:00
|
|
|
checksum="efeb02a5ea33a47d9843c7859712bff87350307fdc6dee48823ac74ca0ad7354
|
2018-06-30 23:19:38 +02:00
|
|
|
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
|
|
|
|
}
|