#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=xfburn
pkgver=0.4.1
pkgrel=1gv
arch=i486
source=(http://goodies.xfce.org/releases/xfburn/xfburn-0.4.1.tar.bz2)
sourcetemplate=http://pnboy.pinguix.com/gapan/$arch/$pkgname/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
#url=

doinst() {
if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfburn - is simple gtk+2 CD burning tool"
"Xfburn is a simple CD/DVD burning tool based on libburnia libraries."
"It can blank CD-RWs, burn and create iso images, as well as burn"
"personal compositions of data to either CD or DVD."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
}