#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gcalctool pkgver=6.2.0 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/gcalctool/6.2/gcalctool-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi # 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 # update the gconf schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gcalctool is a calculator for gnome." "Gcalctool is a powerful graphical calulator with financial, logical" "and scientific modes. It uses a multiple precision package to do its" "arithmetic to give a high degree of accuracy." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --enable-static=no make || return 1 make install DESTDIR=$startdir/pkg }