# Template file for 'plank'
pkgname=plank
version=0.9.1
revision=2
build_style=gnu-configure
configure_args="$(vopt_enable dbusmenu)"
hostmakedepends="gdk-pixbuf-devel glib-devel intltool libgee08-devel
 pkg-config libxml2 vala $(vopt_if dbusmenu 'libdbusmenu-glib-devel libdbusmenu-gtk3-devel')"
makedepends="bamf-devel glib-devel gtk+3-devel libgee08-devel libwnck-devel
 vala-devel $(vopt_if dbusmenu 'libdbusmenu-glib-devel libdbusmenu-gtk3-devel')"
short_desc="Elegant, simple, clean dock"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3"
homepage="https://launchpad.net/plank"
distfiles="https://launchpad.net/plank/1.0/$version/+download/$pkgname-$version.tar.xz"
checksum="884cd57a0fcc78cf82cf01072dedc46c34b6f766871d5f773b68ee498fded9a2"

build_options="dbusmenu"
desc_option_dbusmenu="Enable dynamic quicklist support over dbusmenu"

build_options_default+="dbusmenu"

plank-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/share/vala
	}
}
