[arch-commits] Commit in ogre/trunk (PKGBUILD ogre.install)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jan 29 20:32:04 UTC 2018


    Date: Monday, January 29, 2018 @ 20:32:03
  Author: svenstaro
Revision: 287890

upgpkg: ogre 1.10.11-3

Move samples back to /usr/share

Modified:
  ogre/trunk/PKGBUILD
  ogre/trunk/ogre.install

--------------+
 PKGBUILD     |   13 ++-----------
 ogre.install |    3 +--
 2 files changed, 3 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-29 20:15:58 UTC (rev 287889)
+++ PKGBUILD	2018-01-29 20:32:03 UTC (rev 287890)
@@ -3,7 +3,7 @@
 pkgbase=ogre
 pkgname=('ogre' 'ogre-docs')
 pkgver=1.10.11
-pkgrel=2
+pkgrel=3
 pkgdesc='Scene-oriented, flexible 3D engine written in C++'
 arch=('x86_64')
 url='http://www.ogre3d.org'
@@ -46,16 +46,7 @@
 
   make DESTDIR=${pkgdir} install
 
-  # fix up samples
-  install -dm775 -o root -g users ${pkgdir}/opt/OGRE/samples/
-  mv ${pkgdir}/usr/share/OGRE/*.cfg ${pkgdir}/opt/OGRE/samples/
-  mv ${pkgdir}/usr/bin/SampleBrowser ${pkgdir}/opt/OGRE/samples/
-
-  # make sample launcher
-  echo "#!/bin/bash" > ${pkgdir}/usr/bin/OgreSampleBrowser
-  echo "cd /opt/OGRE/samples && ./SampleBrowser" >> ${pkgdir}/usr/bin/OgreSampleBrowser
-  chmod +x ${pkgdir}/usr/bin/OgreSampleBrowser
-
+  mv ${pkgdir}/usr/bin/SampleBrowser ${pkgdir}/usr/bin/OgreSampleBrowser
   install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 
   # move docs out of this package

Modified: ogre.install
===================================================================
--- ogre.install	2018-01-29 20:15:58 UTC (rev 287889)
+++ ogre.install	2018-01-29 20:32:03 UTC (rev 287890)
@@ -1,4 +1,3 @@
 post_install() {
-    echo "To view the OGRE samples just run OgreSampleBrowser or launch"
-    echo "it directly in /opt/OGRE/samples/"
+    echo "To view the OGRE samples just run OgreSampleBrowser"
 }



More information about the arch-commits mailing list