[arch-commits] Commit in flightgear/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Wednesday, May 24, 2017 @ 14:45:20 Author: spupykin Revision: 229941 archrelease: copy trunk to community-i686 Added: flightgear/repos/community-i686/PKGBUILD (from rev 229940, flightgear/trunk/PKGBUILD) Deleted: flightgear/repos/community-i686/PKGBUILD --+ PKGBUILD | 89 ++--- 1 file changed, 45 insertions(+), 44 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-05-24 14:30:36 UTC (rev 229940) +++ PKGBUILD2017-05-24 14:45:20 UTC (rev 229941) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: William Rea -# Contributor: Hans Janssen - -pkgname=flightgear -pkgver=2017.2.1 -_pkgver=${pkgver%.*} -pkgrel=1 -pkgdesc="An open-source, multi-platform flight simulator" -arch=(i686 x86_64) -depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') -makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear' 'qt5-base' 'qt5-webview') -optdepends=('qt5-base: fgfs --launcher') -license=("GPL") -url="http://www.flightgear.org/"; -options=('!makeflags') -source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2";) -sha256sums=('c7d9a63736cafd02236707d0f8e1bb36884a1a989cf49575bad13b4cbb311f5b') - -build() { - cd "$srcdir"/flightgear-$pkgver - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . - uudecode -o package/flightgear.png package/flightgear.png.uue - make - sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/org.flightgear.FlightGear.desktop -} - -package() { - depends=(${depends[@]} 'flightgear-data') - - cd "$srcdir"/flightgear-$pkgver - make DESTDIR="$pkgdir" install - - install -Dm0644 package/org.flightgear.FlightGear.desktop "$pkgdir"/usr/share/applications/flightgear.desktop - install -Dm0644 package/flightgear.ico "$pkgdir"/usr/share/icons/flightgear.ico - install -Dm0644 package/flightgear.png "$pkgdir"/usr/share/icons/flightgear.png - install -Dm0644 scripts/completion/fg-completion.bash "$pkgdir"/usr/share/bash-completion/completions/fgfs - install -Dm0644 scripts/completion/fg-completion.zsh "$pkgdir"/usr/share/zsh/site-functions/_fgfs - ln -sf flightgear "$pkgdir"/usr/share/FlightGear -} Copied: flightgear/repos/community-i686/PKGBUILD (from rev 229940, flightgear/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-05-24 14:45:20 UTC (rev 229941) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: William Rea +# Contributor: Hans Janssen + +pkgname=flightgear +pkgver=2017.2.1 +_pkgver=${pkgver%.*} +pkgrel=1 +pkgdesc="An open-source, multi-platform flight simulator" +arch=(i686 x86_64) +depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') +makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear' 'qt5-base' 'qt5-declarative') +optdepends=('qt5-base: fgfs --launcher' + 'qt5-declarative: fgfs --launcher') +license=("GPL") +url="http://www.flightgear.org/"; +options=('!makeflags') +source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2";) +sha256sums=('c7d9a63736cafd02236707d0f8e1bb36884a1a989cf49575bad13b4cbb311f5b') + +build() { + cd "$srcdir"/flightgear-$pkgver + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . + uudecode -o package/flightgear.png package/flightgear.png.uue + make + sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/org.flightgear.FlightGear.desktop +} + +package() { + depends=(${depends[@]} 'flightgear-data') + + cd "$srcdir"/flightgear-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm0644 package/org.flightgear.FlightGear.desktop "$pkgdir"/usr/share/applications/flightgear.desktop + install -Dm0644 package/flightgear.ico "$pkgdir"/usr/share/icons/flightgear.ico + install -Dm0644 package/flightgear.png "$pkgdir"/usr/share/icons/flightgear.png + install -Dm0644 scripts/completion/fg-completion.bash "$pkgdir"/usr/share/bash-completion/completions/fgfs + install -Dm0644 scripts/completion/fg-completion.zsh "$pkgdir"/usr/share/zsh/site-functions/_fgfs + ln -sf flightgear "$pkgdir"/usr/share/FlightGear +}
[arch-commits] Commit in flightgear/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Monday, May 9, 2016 @ 02:02:19 Author: spupykin Revision: 174380 archrelease: copy trunk to community-i686 Added: flightgear/repos/community-i686/PKGBUILD (from rev 174379, flightgear/trunk/PKGBUILD) Deleted: flightgear/repos/community-i686/PKGBUILD --+ PKGBUILD | 86 ++--- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-05-09 00:01:59 UTC (rev 174379) +++ PKGBUILD2016-05-09 00:02:19 UTC (rev 174380) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: William Rea -# Contributor: Hans Janssen - -pkgname=flightgear -pkgver=2016.1.1 -_pkgver=2016.1 -pkgrel=1 -pkgdesc="An open-source, multi-platform flight simulator" -arch=(i686 x86_64) -depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') -makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear') -license=("GPL") -url="http://www.flightgear.org/"; -options=('!makeflags') -source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2";) -#source=("git://git.code.sf.net/p/flightgear/flightgear#commit=74356e84f70c7c6504fd6711b8e3272184c6ad56") -md5sums=('f061a427acf87d00ea81aac4a5459079') - -build() { - cd $srcdir/flightgear-$pkgver - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . - uudecode -o package/flightgear.png package/flightgear.png.uue - make - sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop -} - -package() { - depends=(${depends[@]} 'flightgear-data') - - cd $srcdir/flightgear-$pkgver - make DESTDIR=$pkgdir install - - install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop - install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico - install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png - install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs - ln -sf flightgear $pkgdir/usr/share/FlightGear -} Copied: flightgear/repos/community-i686/PKGBUILD (from rev 174379, flightgear/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-05-09 00:02:19 UTC (rev 174380) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: William Rea +# Contributor: Hans Janssen + +pkgname=flightgear +pkgver=2016.1.2 +_pkgver=2016.1 +pkgrel=1 +pkgdesc="An open-source, multi-platform flight simulator" +arch=(i686 x86_64) +depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') +makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear') +license=("GPL") +url="http://www.flightgear.org/"; +options=('!makeflags') +source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2";) +#source=("git://git.code.sf.net/p/flightgear/flightgear#commit=74356e84f70c7c6504fd6711b8e3272184c6ad56") +md5sums=('4638df5b260b25860aff4dbe4bef5021') + +build() { + cd $srcdir/flightgear-$pkgver + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . + uudecode -o package/flightgear.png package/flightgear.png.uue + make + sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop +} + +package() { + depends=(${depends[@]} 'flightgear-data') + + cd $srcdir/flightgear-$pkgver + make DESTDIR=$pkgdir install + + install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop + install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico + install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png + install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs + ln -sf flightgear $pkgdir/usr/share/FlightGear +}
[arch-commits] Commit in flightgear/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Friday, February 19, 2016 @ 13:05:18 Author: spupykin Revision: 162487 archrelease: copy trunk to community-i686 Added: flightgear/repos/community-i686/PKGBUILD (from rev 162486, flightgear/trunk/PKGBUILD) Deleted: flightgear/repos/community-i686/PKGBUILD --+ PKGBUILD | 85 ++--- 1 file changed, 43 insertions(+), 42 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-02-19 12:05:09 UTC (rev 162486) +++ PKGBUILD2016-02-19 12:05:18 UTC (rev 162487) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: William Rea -# Contributor: Hans Janssen - -pkgname=flightgear -pkgver=2016.1.0git -pkgrel=2 -pkgdesc="An open-source, multi-platform flight simulator" -arch=(i686 x86_64) -depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') -makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear' 'git') -license=("GPL") -url="http://www.flightgear.org/"; -options=('!makeflags') -#source=("http://downloads.sourceforge.net/project/flightgear/release-${pkgver}/${pkgname}-${pkgver}.tar.bz2";) -source=("git://git.code.sf.net/p/flightgear/flightgear#commit=74356e84f70c7c6504fd6711b8e3272184c6ad56") -md5sums=('SKIP') - -build() { - cd $srcdir/flightgear - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . - uudecode -o package/flightgear.png package/flightgear.png.uue - make - sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop -} - -package() { - depends=(${depends[@]} 'flightgear-data') - - cd $srcdir/flightgear - make DESTDIR=$pkgdir install - - install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop - install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico - install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png - install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs - ln -sf flightgear $pkgdir/usr/share/FlightGear -} Copied: flightgear/repos/community-i686/PKGBUILD (from rev 162486, flightgear/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-02-19 12:05:18 UTC (rev 162487) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: William Rea +# Contributor: Hans Janssen + +pkgname=flightgear +pkgver=2016.1.1 +_pkgver=2016.1 +pkgrel=1 +pkgdesc="An open-source, multi-platform flight simulator" +arch=(i686 x86_64) +depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') +makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear') +license=("GPL") +url="http://www.flightgear.org/"; +options=('!makeflags') +source=("http://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2";) +#source=("git://git.code.sf.net/p/flightgear/flightgear#commit=74356e84f70c7c6504fd6711b8e3272184c6ad56") +md5sums=('f061a427acf87d00ea81aac4a5459079') + +build() { + cd $srcdir/flightgear-$pkgver + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . + uudecode -o package/flightgear.png package/flightgear.png.uue + make + sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop +} + +package() { + depends=(${depends[@]} 'flightgear-data') + + cd $srcdir/flightgear-$pkgver + make DESTDIR=$pkgdir install + + install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop + install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico + install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png + install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs + ln -sf flightgear $pkgdir/usr/share/FlightGear +}
[arch-commits] Commit in flightgear/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Thursday, February 26, 2015 @ 20:34:18 Author: spupykin Revision: 128316 archrelease: copy trunk to community-i686 Added: flightgear/repos/community-i686/PKGBUILD (from rev 128315, flightgear/trunk/PKGBUILD) Deleted: flightgear/repos/community-i686/PKGBUILD --+ PKGBUILD | 86 ++--- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-02-26 19:33:58 UTC (rev 128315) +++ PKGBUILD2015-02-26 19:34:18 UTC (rev 128316) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: William Rea -# Contributor: Hans Janssen - -pkgname=flightgear -pkgver=3.4.0 -pkgrel=1 -pkgdesc="An open-source, multi-platform flight simulator" -arch=(i686 x86_64) -depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') -makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear') -license=("GPL") -url="http://www.flightgear.org"; -options=('!makeflags') -#source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver";) -#source=("ftp://ftp.de.flightgear.org/pub/fgfs/Source/flightgear-$pkgver.tar.bz2";) -source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-$pkgver.tar.bz2";) -md5sums=('604ccba642ddf859b8415738992254e4') - -build() { - cd $srcdir/flightgear-$pkgver - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . - uudecode -o package/flightgear.png package/flightgear.png.uue - make - sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop -} - -package() { - depends=(${depends[@]} 'flightgear-data') - - cd $srcdir/flightgear-$pkgver - make DESTDIR=$pkgdir install - - install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop - install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico - install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png - install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs - ln -sf flightgear $pkgdir/usr/share/FlightGear -} Copied: flightgear/repos/community-i686/PKGBUILD (from rev 128315, flightgear/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-02-26 19:34:18 UTC (rev 128316) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: William Rea +# Contributor: Hans Janssen + +pkgname=flightgear +pkgver=3.4.0 +pkgrel=2 +pkgdesc="An open-source, multi-platform flight simulator" +arch=(i686 x86_64) +depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') +makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear') +license=("GPL") +url="http://www.flightgear.org"; +options=('!makeflags') +#source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver";) +#source=("ftp://ftp.de.flightgear.org/pub/fgfs/Source/flightgear-$pkgver.tar.bz2";) +source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-$pkgver.tar.bz2";) +md5sums=('0a6f4c27baf64f3e7d58fd44612118df') + +build() { + cd $srcdir/flightgear-$pkgver + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . + uudecode -o package/flightgear.png package/flightgear.png.uue + make + sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop +} + +package() { + depends=(${depends[@]} 'flightgear-data') + + cd $srcdir/flightgear-$pkgver + make DESTDIR=$pkgdir install + + install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop + install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico + install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png + install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs + ln -sf flightgear $pkgdir/usr/share/FlightGear +}
[arch-commits] Commit in flightgear/repos/community-i686 (PKGBUILD PKGBUILD)
Date: Wednesday, February 18, 2015 @ 15:21:10 Author: spupykin Revision: 127910 archrelease: copy trunk to community-i686 Added: flightgear/repos/community-i686/PKGBUILD (from rev 127909, flightgear/trunk/PKGBUILD) Deleted: flightgear/repos/community-i686/PKGBUILD --+ PKGBUILD | 86 ++--- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-02-18 14:20:56 UTC (rev 127909) +++ PKGBUILD2015-02-18 14:21:10 UTC (rev 127910) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: William Rea -# Contributor: Hans Janssen - -pkgname=flightgear -pkgver=3.2.0 -pkgrel=2 -pkgdesc="An open-source, multi-platform flight simulator" -arch=(i686 x86_64) -depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') -makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear') -license=("GPL") -url="http://www.flightgear.org"; -options=('!makeflags') -#source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver";) -#source=("ftp://ftp.de.flightgear.org/pub/fgfs/Source/flightgear-$pkgver.tar.bz2";) -source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-$pkgver.tar.bz2";) -md5sums=('0a16920cc22ea070f8bb345e76c55e05') - -build() { - cd $srcdir/flightgear-$pkgver - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . - uudecode -o package/flightgear.png package/flightgear.png.uue - make - sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop -} - -package() { - depends=(${depends[@]} 'flightgear-data') - - cd $srcdir/flightgear-$pkgver - make DESTDIR=$pkgdir install - - install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop - install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico - install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png - install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs - ln -sf flightgear $pkgdir/usr/share/FlightGear -} Copied: flightgear/repos/community-i686/PKGBUILD (from rev 127909, flightgear/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-02-18 14:21:10 UTC (rev 127910) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: William Rea +# Contributor: Hans Janssen + +pkgname=flightgear +pkgver=3.4.0 +pkgrel=1 +pkgdesc="An open-source, multi-platform flight simulator" +arch=(i686 x86_64) +depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal') +makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear') +license=("GPL") +url="http://www.flightgear.org"; +options=('!makeflags') +#source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver";) +#source=("ftp://ftp.de.flightgear.org/pub/fgfs/Source/flightgear-$pkgver.tar.bz2";) +source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-$pkgver.tar.bz2";) +md5sums=('604ccba642ddf859b8415738992254e4') + +build() { + cd $srcdir/flightgear-$pkgver + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . + uudecode -o package/flightgear.png package/flightgear.png.uue + make + sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop +} + +package() { + depends=(${depends[@]} 'flightgear-data') + + cd $srcdir/flightgear-$pkgver + make DESTDIR=$pkgdir install + + install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop + install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico + install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png + install -Dm0644 scripts/completion/fg-completion.bash $pkgdir/usr/share/bash-completion/completions/fgfs + ln -sf flightgear $pkgdir/usr/share/FlightGear +}