[arch-commits] Commit in flightgear/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Fri Feb 5 22:03:29 UTC 2016


    Date: Friday, February 5, 2016 @ 23:03:29
  Author: spupykin
Revision: 160431

upgpkg: flightgear 3.5.0git-1

upd

Modified:
  flightgear/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-05 20:26:18 UTC (rev 160430)
+++ PKGBUILD	2016-02-05 22:03:29 UTC (rev 160431)
@@ -4,29 +4,27 @@
 # Contributor: Hans Janssen <hans at janserv.xs4all.nl>
 
 pkgname=flightgear
-pkgver=3.4.0
-pkgrel=3
+pkgver=3.5.0git
+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')
+makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'simgear' 'git')
 license=("GPL")
-url="http://www.flightgear.org"
+url="https://github.com/FlightGear/flightgear"
 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"
+source=("git://github.com/FlightGear/flightgear.git#commit=b61904a7a1093d5cfffac9a7262171db7dd16df"
         "explicitely-link-with-libX11.patch")
-md5sums=('0a6f4c27baf64f3e7d58fd44612118df'
+md5sums=('SKIP'
          'fc264184d88afdc12c669f1eabb5bbea')
 
 prepare() {
-  cd $srcdir/flightgear-$pkgver
-  patch -Np1 -i ../explicitely-link-with-libX11.patch
+  cd $srcdir/flightgear
+#  patch -Np1 -i ../explicitely-link-with-libX11.patch
 }
 
 build() {
-  cd $srcdir/flightgear-$pkgver
+  cd $srcdir/flightgear
   cmake \
 	-DCMAKE_INSTALL_PREFIX=/usr \
 	-DCMAKE_INSTALL_LIBDIR=lib \
@@ -39,7 +37,7 @@
 package() {
   depends=(${depends[@]} 'flightgear-data')
 
-  cd $srcdir/flightgear-$pkgver
+  cd $srcdir/flightgear
   make DESTDIR=$pkgdir install
 
   install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop



More information about the arch-commits mailing list