summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 1 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a74fe175cc3c..5978b152960b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri May 26 12:46:21 UTC 2017
+# Fri May 26 17:05:01 UTC 2017
pkgbase = flightgear-git
pkgdesc = An open-source, multi-platform flight simulator
pkgver = 20170526
diff --git a/PKGBUILD b/PKGBUILD
index 238de5cc5691..7554631588be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,16 +37,10 @@ build() {
../${_gitname}
make || return 1
- sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear --launcher|' ../${_gitname}/package/org.flightgear.FlightGear.desktop
}
package(){
cd "${srcdir}/${_gitname}-build/"
make DESTDIR="$pkgdir" install
-
- install -Dm0644 ../${_gitname}/package/org.flightgear.FlightGear.desktop "$pkgdir"/usr/share/applications/flightgear.desktop
- install -Dm0644 ../${_gitname}/package/flightgear.ico "$pkgdir"/usr/share/icons/flightgear.ico
- install -Dm0644 ../${_gitname}/scripts/completion/fg-completion.bash "$pkgdir"/usr/share/bash-completion/completions/fgfs
- install -Dm0644 ../${_gitname}/scripts/completion/fg-completion.zsh "$pkgdir"/usr/share/zsh/site-functions/_fgfs
}