void-packages/srcpkgs/liteide/template
2019-11-18 21:41:18 +01:00

24 lines
718 B
Bash

# Template file for 'liteide'
pkgname=liteide
version=36.2
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=31e913346b6b135b6d9d78873179dde42957ed8e1df2c14b4eae199686451f03
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