mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
25 lines
729 B
Bash
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
|
|
}
|