26 lines
881 B
Bash
26 lines
881 B
Bash
# Template file for 'textosaurus'
|
|
pkgname=textosaurus
|
|
version=0.9.8
|
|
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"
|
|
checksum="efeb02a5ea33a47d9843c7859712bff87350307fdc6dee48823ac74ca0ad7354
|
|
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
|
|
}
|