#Packager: Tim Beech #Former Packager: George Vlahavas pkgname=gperiodic pkgver=2.0.10 pkgrel=2tjb #arch=i486 source=(http://www.frantz.fi/software/gperiodic-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "gpl.txt") url=http://www.frantz.fi/software/gperiodic.php slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gperiodic (periodic table application)" "GPeriodic is a program for looking up data of elements from the" "periodic table. This program also features a non-graphical interface," "for instance: gperiodic Fe will output text to console. " "This program was originally written by Kyle R. Burton." ) build() { cd $startdir/src/$pkgname-$pkgver sed -i "s/-DGTK_DISABLE_DEPRECATED/$CFLAGS/" Makefile make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps mv $startdir/pkg/usr/share/pixmaps/gperiodic-crystal.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/gperiodic.png rm -rf $startdir/pkg/usr/share/pixmaps }