#Packager: Ralvex <ralvex~at~rlvx~dot~eu>

pkgname=libxfce4ui
pkgver=4.11.0
pkgrel=1rlvx
#arch=noarch
source=(http://archive.xfce.org/src/xfce/libxfce4ui/4.11/libxfce4ui-4.11.0.tar.bz2)
#sourcetemplate=http://people.salixos.org/yournick/$pkgname/$pkgver/
#docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
#url=
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (Xfce widget library)"
"This is libxfce4ui, the replacement of the old libxfcegui4 library."
"It is used to share commonly used Xfce widgets among the Xfce"
"applications."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PKGNAM-$VERSION \
  --with-vendor-info=Ralvex \
  --disable-static \
  --disable-debug \
  --build=$ARCH-slackware-linux || exit 1

	make install DESTDIR=$startdir/pkg
}