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

pkgname=galculator
pkgver=1.3.4
pkgrel=1gv
arch=i486
source=(http://prdownloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2)
sourcetemplate=http://pnboy.pinguix.com/gapan/$arch/$pkgname/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls")
url=http://galculator.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"galculator - a gtk2 calculator"
"galculator is a GTK 2 based calculator with ordinary notation/reverse"
"polish notation, a formula entry mode, different number bases (DEC,"
"HEX, OCT, BIN) and different units of angular measure (DEG, RAD,"
"GRAD)."
)


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