void-packages/srcpkgs/plank/template

32 lines
1.1 KiB
Bash

# Template file for 'plank'
pkgname=plank
version=0.11.89
revision=2
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 gnome-menus-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.0-or-later"
homepage="https://launchpad.net/plank"
distfiles="${homepage}/1.0/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=a662a46eaeffbd40661d1f36abd2589f7a98baef4b918876b872047b7ca59d9d
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
}
}