# Template file for 'gede'
pkgname=gede
version=2.0.3
revision=1
build_style=qmake
build_wrksrc="src"
hostmakedepends="python qt-qmake"
makedepends="qt-devel"
depends="gdb ctags"
short_desc="Graphical frontend (GUI) to GDB written in Qt"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD"
homepage="http://acidron.com/gede"
distfiles="http://gede.acidron.com/uploads/source/${pkgname}-${version}.tar.xz"
checksum=730e69e513c9a15fa41cdb7a02c91cacf570974f4af571703a54d6fce4acd4fe

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt-host-tools qt-devel"
fi

do_install() {
	cd $wrksrc
	python2 build.py install --prefix="${PKGDESTDIR}/usr" install
	vlicense LICENSE
}
