# Template file for 'roxterm'
pkgname=roxterm
version=3.0.2
revision=1
hostmakedepends="python-lockfile pkg-config docbook-xsl xmlto libtool itstool ImageMagick librsvg-utils"
makedepends="dbus-glib-devel libSM-devel vte3-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Tabbed, VTE-based terminal emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://roxterm.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=8e21d388eeff3b60fff86dc347998c214514042ec8ab497d2ca9153066b7f78b

do_configure() {
	python2 mscript.py configure --prefix=/usr --cc="$CC" --cpp="$CPP" --cxx="$CXX" --ld="$LD"
}
do_build() {
	python2 mscript.py build --cc="$CC" --cpp="$CPP" --cxx="$CXX" --ld="$LD" --cflags="$CFLAGS" --ldflags="$LDFLAGS"
}
do_install() {
	python2 mscript.py install --destdir=${DESTDIR}
}
