void-packages/srcpkgs/plank/template

32 lines
1.1 KiB
Bash

# Template file for 'plank'
pkgname=plank
version=0.10.1
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable dbusmenu) --disable-apport"
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="${homepage}/1.0/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=04cf4205fb7fce035bf537395fbfc3cf79aea9692fb4186345fe6a06ce2ebf36
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
}
}