#Maintainer: Maximus (maximuus[at]gmail[dot]com) # - with some borrowing from gapan's build script pkgname=FlightGear pkgver=1.9.0 pkgrel=1 zenver=54 arch=i486 source=("ftp://ftp.kingmont.com/flightsims/flightgear/Source/$pkgname-$pkgver.tar.gz" "ftp://ftp.kingmont.com/flightsims/flightgear/Shared/$pkgname-data-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/maximus/$pkgname/$pkgver docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "known_bugs" "notice" "readme.glut" "todo-1.6" "todo-2.0" "todo-after135") url=http://www.flightgear.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "FlightGear is an open-source, multi-platform flight simulator" "The goal of the FlightGear project is to create a sophisticated" "flight simulator framework for use in research or academic" "environments, for the development and pursuit of other interesting" "flight simulation ideas, and as an end-user application." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --enable-osgviewer make || return 1 make install DESTDIR=$startdir/pkg #make desktop file mkdir -p $startdir/pkg/usr/share/applications cat > $startdir/pkg/usr/share/applications/$pkgname.desktop <