diff options
Diffstat (limited to 'community/simgear/PKGBUILD')
-rw-r--r-- | community/simgear/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/simgear/PKGBUILD b/community/simgear/PKGBUILD new file mode 100644 index 000000000..af8420930 --- /dev/null +++ b/community/simgear/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 94470 2013-07-25 12:34:11Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: William Rea <sillywilly@gmail.com> +# Contributor: Hans Janssen <hans@janserv.xs4all.nl> + +pkgname=simgear +pkgver=2.10.0 +pkgrel=2 +pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications." +arch=(i686 x86_64) +depends=('glut' 'freealut' 'plib' 'openscenegraph') +makedepends=('boost' 'cmake' 'mesa') +license=("GPL") +#url="http://www.simgear.org" +url="https://gitorious.org/fg" +options=('!makeflags') +#source=("SimGear-$pkgver.tar.gz::https://gitorious.org/fg/simgear/archive-tarball/release/$pkgver") +source=("http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-$pkgver.tar.bz2" + "osg-3.2.patch") +md5sums=('0ec974d3778f777d5c99c89db671fcc7' + 'd7f35f02d88c6ef9c58e07b8431811e6') + +prepare() { + cd $srcdir/simgear-$pkgver + patch -p1 <$srcdir/osg-3.2.patch +} + +build() { + cd $srcdir/simgear-$pkgver + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib . + make +} + +package() { + cd $srcdir/simgear-$pkgver + make DESTDIR=$pkgdir install +} |