### this file is sourced not run
PKGVER=4.18.2 
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3 / james
TARBALL=xfce4-panel-$PKGVER.tar.bz2
MD5SUM=81750c221ccf1a659538b01de3cf8982
SRC_URL=http://archive.xfce.org/src/xfce/xfce4-panel/4.18/$TARBALL
BUNDLE=

SLACKREQ='libwnck3 libxfce4-exo libxfce4-garcon'
SLACKDESC="xfce4-panel: xfce4-panel $PKGVER (XFCE4 Panel and Launcher)
xfce4-panel: 
xfce4-panel: The Xfce panel is part of the Xfce Desktop Environment and features 
xfce4-panel: program launchers, panel menus, a clock, a desktop switcher and more.
xfce4-panel: 
xfce4-panel: https://docs.xfce.org/xfce/xfce4-panel/start
xfce4-panel: 
xfce4-panel: 
xfce4-panel: 
xfce4-panel: 
xfce4-panel: 
"
SLACKSUG=''

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/xfce4-panel* &&
	patch -Np1 -i ../pkg/fatdog-custom.patch
}

### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc &&

	# we don't want the cache
	rm -f /usr/share/icons/hicolor/icon-theme.cache &&
	
	# multilib
	mv -v /usr/share/gir-1.0/* /usr/share/gir-1.0-64 &&
	rm -r /usr/share/gir-1.0/ &&
	true
}
 
