void-packages/srcpkgs/liteide/template

25 lines
730 B
Bash

# Template file for 'liteide'
pkgname=liteide
version=35.4
revision=1
wrksrc="liteide-x${version}"
build_wrksrc=liteidex
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-tools-devel"
depends="go"
short_desc="Simple, open source, cross-platform Go IDE"
maintainer="Rasmus Thomsen <Rasmus.thomsen@protonmail.com>"
license="LGPL-2.1-or-later"
homepage="http://liteide.org/"
distfiles="https://github.com/visualfc/liteide/archive/x${version}.tar.gz"
checksum=0233eed76228cad3e6d2c937a5c8da2daabe564ef87f7e94f8fec92a673640d2
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
CXXFLAGS+=" -I$i"
done
fi