summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlen D'souza2017-05-26 22:35:28 +0530
committerGlen D'souza2017-05-26 22:35:28 +0530
commit97fa18caed25858017240e19cd82ecb5acf9a37d (patch)
tree3f812c2543b477d64f29445e30ee0c3500a18fd1
parent3aa5318185d143cee9ebbf18c154da93ae8ec61f (diff)
downloadaur-97fa18caed25858017240e19cd82ecb5acf9a37d.tar.gz
CMake handles the icons and related files, now
-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
}