Date: Thursday, March 30, 2023 @ 01:20:01
  Author: svenstaro
Revision: 1430319

archrelease: copy trunk to community-x86_64

Added:
  ogre/repos/community-x86_64/PKGBUILD
    (from rev 1430318, ogre/trunk/PKGBUILD)
  ogre/repos/community-x86_64/ogre.install
    (from rev 1430318, ogre/trunk/ogre.install)
Deleted:
  ogre/repos/community-x86_64/PKGBUILD
  ogre/repos/community-x86_64/ogre.install

--------------+
 PKGBUILD     |  106 ++++++++++++++++++++++++++++-----------------------------
 ogre.install |    6 +--
 2 files changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-30 01:19:48 UTC (rev 1430318)
+++ PKGBUILD    2023-03-30 01:20:01 UTC (rev 1430319)
@@ -1,53 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-pkgname=ogre
-pkgver=13.5.3
-pkgrel=1
-pkgdesc='Scene-oriented, flexible 3D engine written in C++'
-arch=('x86_64')
-url='http://www.ogre3d.org'
-license=('custom:MIT')
-depends=('freeimage' 'freetype2' 'libxaw' 'libxrandr' 'sdl2' 'glu' 'pugixml' 
'zlib')
-makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'python' 'ninja' 
'cppunit' 'swig')
-install=ogre.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz";)
-optdepends=('python: python bindings')
-sha512sums=('cfb3127d9f2059877141de46a42769a718560bf0343c46c9374ea6e2f442de50d697847f3c5775b92b74193e20cf4c92da6ec176a9a82729f7f2feb9393df819')
-
-prepare() {
-  cd ogre-${pkgver}
-  sed -i 's|set(PYTHON_SITE_PACKAGES 
lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/dist-packages/Ogre/)|set(PYTHON_SITE_PACKAGES
 lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/dist-packages/Ogre/ 
CACHE FILEPATH "")|' Components/Python/CMakeLists.txt
-}
-
-build() {
-  cd ogre-${pkgver}
-
-  cmake \
-    -Bbuild \
-    -GNinja \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DOGRE_BUILD_TESTS=ON \
-    -DOGRE_BUILD_DEPENDENCIES=OFF \
-    -DPYTHON_SITE_PACKAGES=$(python -c "import sysconfig; 
print(sysconfig.get_paths()[\"platlib\"]+'/Ogre/')")
-
-  ninja -C build
-  ninja -C build OgreDoc
-}
-
-check() {
-  cd ogre-${pkgver}
-
-  ninja -C build test
-}
-
-package() {
-  cd ogre-${pkgver}
-
-  DESTDIR="${pkgdir}" ninja -C build install
-
-  mkdir -p "${pkgdir}"/opt/ogre/samples
-  mv "${pkgdir}"/usr/bin/SampleBrowser "${pkgdir}"/opt/ogre/samples
-  mv "${pkgdir}"/usr/bin/Test_* "${pkgdir}"/opt/ogre/samples
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ogre/repos/community-x86_64/PKGBUILD (from rev 1430318, 
ogre/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-30 01:20:01 UTC (rev 1430319)
@@ -0,0 +1,53 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=ogre
+pkgver=13.6.3
+pkgrel=1
+pkgdesc='Scene-oriented, flexible 3D engine written in C++'
+arch=('x86_64')
+url='http://www.ogre3d.org'
+license=('custom:MIT')
+depends=('freeimage' 'freetype2' 'libxaw' 'libxrandr' 'sdl2' 'glu' 'pugixml' 
'zlib')
+makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'python' 'ninja' 
'cppunit' 'swig')
+install=ogre.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz";)
+optdepends=('python: python bindings')
+sha512sums=('9276f59a9c9ef0a5c04fed131e32805313fe232a8c93121110add62c0c526d9ce511d9a7738722783f837b38bd103d0155e8663b9498252543317eba84ad73f0')
+
+prepare() {
+  cd ogre-${pkgver}
+  sed -i 's|set(PYTHON_SITE_PACKAGES 
lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/dist-packages/Ogre/)|set(PYTHON_SITE_PACKAGES
 lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/dist-packages/Ogre/ 
CACHE FILEPATH "")|' Components/Python/CMakeLists.txt
+}
+
+build() {
+  cd ogre-${pkgver}
+
+  cmake \
+    -Bbuild \
+    -GNinja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DOGRE_BUILD_TESTS=ON \
+    -DOGRE_BUILD_DEPENDENCIES=OFF \
+    -DPYTHON_SITE_PACKAGES=$(python -c "import sysconfig; 
print(sysconfig.get_paths()[\"platlib\"]+'/Ogre/')")
+
+  ninja -C build
+  ninja -C build OgreDoc
+}
+
+check() {
+  cd ogre-${pkgver}
+
+  ninja -C build test
+}
+
+package() {
+  cd ogre-${pkgver}
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  mkdir -p "${pkgdir}"/opt/ogre/samples
+  mv "${pkgdir}"/usr/bin/SampleBrowser "${pkgdir}"/opt/ogre/samples
+  mv "${pkgdir}"/usr/bin/Test_* "${pkgdir}"/opt/ogre/samples
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: ogre.install
===================================================================
--- ogre.install        2023-03-30 01:19:48 UTC (rev 1430318)
+++ ogre.install        2023-03-30 01:20:01 UTC (rev 1430319)
@@ -1,3 +0,0 @@
-post_install() {
-    echo "Ogre samples are in /opt/ogre/samples"
-}

Copied: ogre/repos/community-x86_64/ogre.install (from rev 1430318, 
ogre/trunk/ogre.install)
===================================================================
--- ogre.install                                (rev 0)
+++ ogre.install        2023-03-30 01:20:01 UTC (rev 1430319)
@@ -0,0 +1,3 @@
+post_install() {
+    echo "Ogre samples are in /opt/ogre/samples"
+}

Reply via email to