#Maintained by: Maximus (maximuus[at]gmail[dot]com) pkgname=gl-117 pkgver=1.3.2 pkgrel=1 zenver=54 arch=i686 source=("http://internap.dl.sourceforge.net/sourceforge/gl-117/gl-117-1.3.2-src.tar.bz2" "http://pnboy.pinguix.com/atticus/www/files/$pkgname/gl-117.png" "http://pnboy.pinguix.com/atticus/www/files/$pkgname/gl-117.desktop") sourcetemplate=http://pnboy.pinguix.com/atticus/www/files/$pkgname/ docs=("readme" "faq" "install" "copying" "changelog" "authors" "news" "readme.txt" "gl-117.pdf") url="http://www.heptargon.de/gl-117/gl-117.html" CFLAGS="-O2 -march=i686 -mtune=i686" CXXFLAGS=$CFLAGS slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gl-117 (Action Flight Simulator)" "gl-117 is an action flight simulator for Linux/Unix and MSWindows." "Enter the Eagle Squadron and succeed in several challanging missions" "leading though different landscapes. Five predefined levels of video" "quality and an amount of viewing ranges let you perfectly adjust the" "game to the performance of your system. Joystick, mouse, sound" "effects, music..." ) build() { cd $startdir/src/$pkgname-$pkgver-src #move over pdf doc mv $startdir/src/$pkgname-$pkgver-src/doc/gl-117.pdf $startdir/src/$pkgname-$pkgver-src/gl-117.pdf ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg #install .desktop file mkdir $startdir/pkg/usr/share/applications cp $startdir/src/gl-117.desktop $startdir/pkg/usr/share/applications/gl-117.desktop #install icon mkdir $startdir/pkg/usr/share/icons mkdir $startdir/pkg/usr/share/icons/hicolor mkdir $startdir/pkg/usr/share/icons/hicolor/48x48 mkdir $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/gl-117.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/gl-117.png #install man page mkdir $startdir/pkg/usr/man mkdir $startdir/pkg/usr/man/man6 gzip $startdir/src/$pkgname-$pkgver-src/doc/gl-117.6 cp $startdir/src/$pkgname-$pkgver-src/doc/gl-117.6.gz $startdir/pkg/usr/man/man6/gl-117.6.gz }