27 lines
882 B
Bash
27 lines
882 B
Bash
# 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 <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="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
|
|
}
|