mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
35 lines
870 B
Bash
35 lines
870 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
pkgname=flightgear
|
|
_pkgname=FlightGear
|
|
pkgver=2.4.0
|
|
pkgrel=1
|
|
pkgdesc="An open-source, multi-platform flight simulator."
|
|
arch=(i686 x86_64)
|
|
depends=('flightgear-data' 'freealut' 'openal' 'openscenegraph' 'ptlib' 'simgear')
|
|
makedepends=('boost')
|
|
license=(GPL3)
|
|
url="http://www.flightgear.org"
|
|
source=(ftp://ftp.goflyflightgear.com/$pkgname/Source/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('e6e1f8b1def24326fa64ff001e195da7')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
|
|
# Execution script.
|
|
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
|
|
echo "fgfs \$@" >> $pkgdir/usr/bin/$pkgname
|
|
chmod +x $pkgdir/usr/bin/$pkgname
|
|
}
|