#Maintainer: George Vlahavas pkgname=xfburn pkgver=0.6.2 _mainver=`echo $pkgver | cut -d'.' -f1,2` pkgrel=3gv source=("http://archive.xfce.org/src/apps/xfburn/${_mainver}/xfburn-${pkgver}.tar.bz2" "xfburn.sh") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xfburn (a simple CD burning tool for Xfce)" "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 \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg sed -i "/^Categories=/s/Utility;//" $startdir/pkg/usr/share/applications/xfburn.desktop # xfburn needs the CSD crap, or some UI buttons don't show up mv $startdir/pkg/usr/bin/xfburn $startdir/pkg/usr/bin/xfburn.bin cp $startdir/src/xfburn.sh $startdir/pkg/usr/bin/xfburn chmod 755 $startdir/pkg/usr/bin/xfburn }