desktop/simgear/PKGBUILD
2016-03-01 23:53:53 +01:00

25 lines
729 B
Bash

pkgname=simgear
pkgver=2016.1.1
_pkgver=2016.1
pkgrel=1
pkgdesc="FOSS libraries for quickly assembling 3d simulations, games, and visualization applications."
arch=('x86_64')
depends=('glu' 'freeglut' 'freealut' 'plib' 'openscenegraph' 'libxrandr')
makedepends=('boost' 'cmake' 'mesa')
license=("GPL")
url="http://flightgear.sourceforge.net/"
options=('!makeflags' 'staticlibs')
source=("http://downloads.sourceforge.net/project/flightgear/release-$_pkgver/simgear-$pkgver.tar.bz2")
sha1sums=('12dc9dc01461940c8282f4772e2e8b6b56668b2c')
build() {
cd $srcdir/$pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}