PKGBUILD 811 Bytes
Newer Older
1 2 3 4 5 6 7
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>

pkgname=simgear
_pkgname=SimGear
Adrián Chaves (Gallaecio)'s avatar
Adrián Chaves (Gallaecio) committed
8
pkgver=2.12.0
Adrián Chaves (Gallaecio)'s avatar
Adrián Chaves (Gallaecio) committed
9
pkgrel=2
10 11
pkgdesc="FOSS libraries for quickly assembling 3D simulations."
arch=('i686' 'x86_64')
Adrián Chaves (Gallaecio)'s avatar
Adrián Chaves (Gallaecio) committed
12
depends=('glut' 'freealut' 'libxrandr' 'plib' 'openscenegraph' 'zlib')
13 14
makedepends=('boost')
license=("GPL2")
15
url=http://www.flightgear.org/
16
options=('!makeflags')
abveritas's avatar
abveritas committed
17
source=(http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source//$pkgname-$pkgver.tar.bz2)
Adrián Chaves (Gallaecio)'s avatar
Adrián Chaves (Gallaecio) committed
18
sha256sums=('8e90c4b2f72f6459c6f5125bcd1f16b5d4604af1ff404ab436a966349d32f46a')
19 20

build() {
21
  cd $srcdir/$pkgname-$pkgver
abveritas's avatar
abveritas committed
22
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
23 24 25 26
  make
}

package() {
27
  cd $srcdir/$pkgname-$pkgver
28
  make DESTDIR=$pkgdir install
29
}