# Template file for 'marco'
pkgname=marco
version=1.26.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-startup-notification --disable-schemas-compile"
hostmakedepends="gdk-pixbuf-devel zenity pkg-config itstool intltool"
makedepends="libXt-devel libcanberra-devel libgtop-devel
 libnotify-devel mate-desktop-devel libXpresent-devel"
depends="zenity"
short_desc="Window manager for MATE"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/marco/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f63c08cd8b07450ab3e33a04605c4f9e69522358884273b3cbcf30275eee5b05

# pre_configure() {
# 	NOCONFIGURE=1 ./autogen.sh
# }

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
	}
}
