void-packages/srcpkgs/liteide/template
2019-08-19 10:27:57 +02:00

24 lines
716 B
Bash

# Template file for 'liteide'
pkgname=liteide
version=36
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=b6c05d8864512df54b7f306f1d031e621ed755fc210bd8607ad0f2b0da0fe6f8
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