45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
# Template file for 'xfce4-panel'
|
|
pkgname=xfce4-panel
|
|
version=4.18.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--with-locales-dir=/usr/share/locale
|
|
--disable-static --enable-gio-unix"
|
|
hostmakedepends="pkg-config intltool gettext-devel glib-devel
|
|
$(vopt_if gir vala)"
|
|
makedepends="libwnck-devel libxfce4ui-devel xfconf-devel garcon-devel exo-devel
|
|
libdbusmenu-gtk3-devel"
|
|
short_desc="Next generation panel for the XFCE desktop environment"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://docs.xfce.org/xfce/xfce4-panel/start"
|
|
distfiles="https://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
|
|
checksum=21337161f58bb9b6e42760cb6883bc79beea27882aa6272b61f0e09d750d7c62
|
|
|
|
# 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
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|
|
|
|
libxfce4panel_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|