[arch-commits] Commit in flightgear/repos/community-i686 (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Wed May 24 14:45:21 UTC 2017
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
===================================================================
--- PKGBUILD 2017-05-24 14:30:36 UTC (rev 229940)
+++ PKGBUILD 2017-05-24 14:45:20 UTC (rev 229941)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: William Rea <sillywilly at gmail.com>
-# Contributor: Hans Janssen <hans at janserv.xs4all.nl>
-
-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)
+++ PKGBUILD 2017-05-24 14:45:20 UTC (rev 229941)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: William Rea <sillywilly at gmail.com>
+# Contributor: Hans Janssen <hans at janserv.xs4all.nl>
+
+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
+}
More information about the arch-commits
mailing list