void-packages/srcpkgs/xfce4-panel/template
2019-10-18 17:14:21 +02:00

40 lines
1.2 KiB
Bash

# Template file for 'xfce4-panel'
pkgname=xfce4-panel
version=4.14.1
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --enable-gio-unix --enable-gtk3"
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel"
makedepends="libwnck-devel libxfce4ui-devel xfconf-devel garcon-devel exo-devel"
short_desc="Next generation panel for the XFCE desktop environment"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="GPL-2.0-or-later"
homepage="https://xfce.org/"
distfiles="https://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
checksum=9c3c78b49ddfac7d42a804e6a6ad9d22ad64ec60bbe17d8724bc52d3e3f6d114
# Package build options
build_options="gir"
build_options_default="gir"
xfce4-panel-devel_package() {
depends="libxfce4ui-devel libxfce4panel>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}
libxfce4panel_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}