void-packages/srcpkgs/plank/template

32 lines
1.1 KiB
Bash

# Template file for 'plank'
pkgname=plank
version=0.11.3
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=7f091e3aca4b13e3507bb573c532973bdf4695289f8d1f095501adbed0f15608
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
}
}