void-packages/srcpkgs/plank/template

32 lines
1.1 KiB
Bash

# Template file for 'plank'
pkgname=plank
version=0.11.2
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable dbusmenu) --disable-apport"
hostmakedepends="intltool libgee08-devel glib-devel pkg-config libxml2 vala
$(vopt_if dbusmenu 'libdbusmenu-glib-devel libdbusmenu-gtk3-devel')"
makedepends="bamf-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="${homepage}/1.0/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=8c1cb3cf5b6c35b2aea56867f6ae64adec27e08a4ee90391bba19c1cdb40d2da
build_options="dbusmenu"
desc_option_dbusmenu="Enable dynamic quicklist support over dbusmenu"
build_options_default="dbusmenu"
plank-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/vala
}
}