#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=glabels pkgver=3.0.0 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.gnome.org/pub/GNOME/sources/glabels/3.0/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname docs=("AUTHORS" "COPYING" "COPYING-DOCS" "COPYING-LIBGLABELS" "COPYING.README_FIRST" "ChangeLog" "INSTALL" "NEWS" "README" "TODO") url=ttp://glabels.sourceforge.net/ options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "glabels (A program for creating labels and business cards)" "It is designed to work with various laser/ink-jet peel-off label" "and business card sheets that you'll find at most office supply" "stores." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --program-prefix="" \ --program-suffix="" \ --prefix="/usr" \ --sysconfdir="/etc" \ --localstatedir="/var" \ --mandir="/usr/man" \ --disable-update-mimedb \ --infodir="/usr/info" \ --enable-static="no" \ --enable-shared="yes" make || return 1 make install DESTDIR=$startdir/pkg # Fix mime files rm $startdir/pkg/usr/share/mime/{generic-icons,icons} sed -i "s|glabels.png|glabels|g" $startdir/pkg/usr/share/applications/glabels-3.0.desktop }