void-packages/srcpkgs/liteide/template

25 lines
718 B
Bash

# Template file for 'liteide'
pkgname=liteide
version=36.3
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="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://liteide.org/"
distfiles="https://github.com/visualfc/liteide/archive/x${version}.tar.gz"
checksum=d1b2b6a7994b764f7b12550e4759c90da18de574eb8544eebbcee98d7741c801
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