# Template file for 'compiz-plugins-extra' of Compiz Reloaded

pkgname=compiz-plugins-extra
version=0.8.12.1
revision=2
build_style=gnu-configure
configure_args="--disable-static"

hostmakedepends="automake compiz-bcop gettext-devel intltool libtool pkg-config"
makedepends="compiz-core-devel compiz-plugins-main-devel libnotify-devel"

short_desc="Extra plugins for Compiz Reloaded"
maintainer="CoolOhm <micvlas@gmail.com>"
homepage="https://github.com/compiz-reloaded"
license="GPL-2"
distfiles="https://github.com/compiz-reloaded/compiz-plugins-extra/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=284397765fe2709bbd6203247b15619e917144581a77298301a6fbac642b2f95

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

compiz-plugins-extra-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}