Date: Tuesday, April 30, 2013 @ 13:47:27
Author: spupykin
Revision: 89612
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
flightgear/repos/community-staging-i686/
flightgear/repos/community-staging-i686/PKGBUILD
(from rev 89611, flightgear/trunk/PKGBUILD)
flightgear/repos/community-staging-x86_64/
flightgear/repos/community-staging-x86_64/PKGBUILD
(from rev 89611, flightgear/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: flightgear/repos/community-staging-i686/PKGBUILD (from rev 89611,
flightgear/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-04-30 11:47:27 UTC (rev 89612)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: William Rea <[email protected]>
+# Contributor: Hans Janssen <[email protected]>
+
+pkgname=flightgear
+pkgver=2.10.0
+pkgrel=2
+pkgdesc="An open-source, multi-platform flight simulator"
+arch=(i686 x86_64)
+depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion'
'libxrandr' 'glu')
+makedepends=('boost' 'cmake' 'mesa')
+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=('ae7fc8d1e446c5d1fe2aa82ee41dcac5')
+
+build() {
+ cd $srcdir/flightgear-$pkgver
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" .
+ 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
+ ln -sf flightgear $pkgdir/usr/share/FlightGear
+}
Copied: flightgear/repos/community-staging-x86_64/PKGBUILD (from rev 89611,
flightgear/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-04-30 11:47:27 UTC (rev 89612)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: William Rea <[email protected]>
+# Contributor: Hans Janssen <[email protected]>
+
+pkgname=flightgear
+pkgver=2.10.0
+pkgrel=2
+pkgdesc="An open-source, multi-platform flight simulator"
+arch=(i686 x86_64)
+depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion'
'libxrandr' 'glu')
+makedepends=('boost' 'cmake' 'mesa')
+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=('ae7fc8d1e446c5d1fe2aa82ee41dcac5')
+
+build() {
+ cd $srcdir/flightgear-$pkgver
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" .
+ 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
+ ln -sf flightgear $pkgdir/usr/share/FlightGear
+}