# Template file for 'marco'
pkgname=marco
version=1.8.1
revision=2
build_style=gnu-configure
configure_args="--disable-static --with-gtk=2.0 --enable-startup-notification --disable-schemas-compile"
hostmakedepends="pkg-config intltool itstool mate-dialogs"
makedepends="gtk+-devel libnotify-devel libgtop-devel libSM-devel
 libXt-devel libXcomposite-devel mate-desktop-devel libcanberra-devel
 startup-notification-devel"
depends="mate-dialogs"
short_desc="A window manager for MATE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
checksum=9c8a573abeaaaa8fe74a06354f81e9706d1b558214967950f1c61244b0a8c7a8

libmarco_package() {
	short_desc+=" - runtime library"
	pkg_install() {
		vmove usr/lib/*.so.*
	}
}
libmarco-devel_package() {
	short_desc+=" - development files"
	depends="libmarco>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
