#Packager: George Vlahavas pkgname=allegro pkgver=4.4.0.1 pkgrel=2gv source=("http://downloads.sourceforge.net/project/alleg/allegro/4.4.0.1/allegro-4.4.0.1.tar.gz") docs=("readme.txt" "install" "copying" "changes" "authors" "news" "todo.txt" "thanks") url=http://www.talula.demon.co.uk/allegro slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Allegro (a game programming library for C/C++)" "Allegro is a game programming library for C/C++ developers distributed" "freely, supporting the following platforms: Unix (Linux, FreeBSD," "etc.), Windows, MacOS X and Haiku/BeOS. Older versions also support" "DOS and QNX. It provides many functions for graphics, sounds, player" "input (keyboard, mouse and joystick) and timers. It also provides" "fixed and floating point mathematical functions, 3d functions, file" "management functions, compressed datafile and a GUI." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir build cd build cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX="${LIBDIRSUFFIX}" make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }