# Description: The libxfce4ui package contains GTK+ 2 widgets that are used by other Xfce applications.
# URL: http://www.xfce.org/projects/libraries/
# Packager: tyrry at nutyx dot org
# Depends on: gtk2 gtk3 startup-notification xfce4-conf

_name=libxfce4ui

name=xfce4-libui
version=4.12.1
release=2

source=(http://archive.xfce.org/src/xfce/${_name}/${version%.*}/${_name}-$version.tar.bz2)

build() {
cd ${_name}-$version
	 ./configure \
	 --prefix=/usr \
	 --sysconfdir=/etc \
	 --libexecdir=/usr/lib \
   	 --localstatedir=/var \
   	 --disable-static \
     --disable-debug
	make
	make DESTDIR=$PKG install
	rm -r $PKG/usr/share/gtk-doc
for i in usr/bin/xfce4-about usr/share/applications/xfce4-about.desktop usr/share/icons/hicolor/48x48/apps/xfce4-logo.png
do rm $PKG/$i
done
}