#Maintainer: George Vlahavas (vlahavas~at~gmail.com, gapan@zenwalk forums) pkgname=rlplot pkgver=1.5 zenver=52 pkgrel=1 arch=i486 source=("http://downloads.sourceforge.net/rlplot/rlplot_1.5.tar.gz" "http://users.zenwalk.org/user-accounts/gapan/rlplot/rlplot.desktop" "http://users.zenwalk.org/user-accounts/gapan/rlplot/icons.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "gpl.txt") url=http://rlplot.sourceforge.net/ options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "rlplot - create high quality graphs" "RLPlot is is a plotting program to create high quality graphs from" "data. Based on values stored in a spreadsheet several menus help you" "to create graphs of your choice. The Graphs are displayed as you get" "them (wysiwyg). Double click any element of the graph (or a single" "click with the right mouse button) to modify its properties." ) build() { cd $startdir/src/$pkgname # Patch the Makefile sed -i -e "s|/usr/lib/qt-3.3|/usr/lib/qt|" Makefile sed -i -e "s|-O2|-O2 -march=i486 -mtune=i686|" Makefile make Qt3 || return 1 # Manuall install everything (no 'make install' rule) mkdir -p $startdir/pkg/usr/bin cp rlplot $startdir/pkg/usr/bin mkdir -p $startdir/pkg/usr/man/man1 cp rlplot.1 $startdir/pkg/usr/man/man1 # Copy icons to the right place ICONSIZES="128 96 72 64 48 32 24 22 16" for i in $ICONSIZES; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps; mv $startdir/src/$pkgname-$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/$pkgname.png; done; }