# Template file for 'roxterm'
pkgname=roxterm
version=2.7.2
revision=1
hostmakedepends="python-lockfile pkg-config docbook-xsl xmlto libtool"
makedepends="dbus-glib-devel libSM-devel vte3-devel
 libmagick-devel librsvg-devel desktop-file-utils hicolor-icon-theme"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Tabbed, VTE-based terminal emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://roxterm.sourceforge.net"
#distfiles="${SOURCEFORGE_SITE}//$pkgname/$pkgname-$version.tar.bz2"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/roxterm/roxterm-${version}.tar.bz2/8ef80f9a5e0aea659b1f9cd6de9869b4/roxterm-${version}.tar.bz2"
checksum=94db6be85abe7f0b8f216ee48bded178800e88cc5dfeb308520d7b03875749ce

do_configure() {
	 python2 mscript.py configure --prefix='/usr'
}

do_build() {
	python2 mscript.py build
}

do_install() {
	python2 mscript.py install --destdir=${DESTDIR}
}
