2011-05-13 09:43:18 +08:00
|
|
|
pkgname=simgear
|
2016-03-02 06:53:53 +08:00
|
|
|
pkgver=2016.1.1
|
|
|
|
_pkgver=2016.1
|
2014-04-04 07:18:29 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="FOSS libraries for quickly assembling 3d simulations, games, and visualization applications."
|
|
|
|
arch=('x86_64')
|
2015-02-19 21:10:05 +08:00
|
|
|
depends=('glu' 'freeglut' 'freealut' 'plib' 'openscenegraph' 'libxrandr')
|
2014-04-04 07:18:29 +08:00
|
|
|
makedepends=('boost' 'cmake' 'mesa')
|
|
|
|
license=("GPL")
|
2016-03-02 06:53:53 +08:00
|
|
|
url="http://flightgear.sourceforge.net/"
|
2014-04-04 07:18:29 +08:00
|
|
|
options=('!makeflags' 'staticlibs')
|
2016-03-02 06:53:53 +08:00
|
|
|
source=("http://downloads.sourceforge.net/project/flightgear/release-$_pkgver/simgear-$pkgver.tar.bz2")
|
|
|
|
sha1sums=('12dc9dc01461940c8282f4772e2e8b6b56668b2c')
|
2011-05-13 09:43:18 +08:00
|
|
|
|
|
|
|
build() {
|
2011-09-01 08:56:55 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2012-02-26 15:21:59 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
|
2011-05-13 09:43:18 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-09-01 08:56:55 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-05-13 09:43:18 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
2011-09-01 08:56:55 +08:00
|
|
|
}
|