[arch-commits] Commit in glm/repos/community-any (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Sep 9 23:37:12 UTC 2019


    Date: Monday, September 9, 2019 @ 23:37:12
  Author: svenstaro
Revision: 509141

archrelease: copy trunk to community-any

Added:
  glm/repos/community-any/PKGBUILD
    (from rev 509140, glm/trunk/PKGBUILD)
Deleted:
  glm/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   61 +++++++++++++++++++++----------------------------------------
 1 file changed, 21 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-09 23:37:04 UTC (rev 509140)
+++ PKGBUILD	2019-09-09 23:37:12 UTC (rev 509141)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Peter Hatina <phatina AT gmail.com>
-pkgname=glm
-pkgver=0.9.9.5
-pkgrel=1
-pkgdesc="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification"
-arch=('any')
-license=('MIT')
-url="http://glm.g-truc.net"
-makedepends=('cmake')
-source=("https://github.com/g-truc/glm/releases/download/${pkgver}/glm-${pkgver}.zip")
-sha512sums=('ea4f03d31596e27bd8c3d8d0a82a3ae0050ec0df5a747f3d92e467eacab579bb8b191499cb63bf8574da7a1085b9fe6dd7cd0ce93b758d8d7978b2389cc58b94')
-
-package() {
-    cd $pkgname
-
-    mkdir build
-    cd build
-
-    cmake .. \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=lib
-    make DESTDIR=$pkgdir install
-
-    cd ..
-
-    mkdir -p $pkgdir/usr/share/doc
-    cp -r doc $pkgdir/usr/share/doc/glm
-
-    find $pkgdir -type f -exec chmod 644 {} \;
-    find $pkgdir -type d -exec chmod 755 {} \;
-
-    # Fix https://bugs.archlinux.org/task/52501
-    sed -i \
-        "s/PACKAGE_VERSION_UNSUITABLE TRUE/PACKAGE_VERSION_UNSUITABLE FALSE/g" \
-        $pkgdir/usr/lib/cmake/glm/glmConfigVersion.cmake
-
-    # GCC 7.3 fix
-    sed -i "s/(__GNUC__ == 7) && (__GNUC_MINOR__ == 2)/(__GNUC__ == 7) \&\& (__GNUC_MINOR__ >= 2)/" $pkgdir/usr/include/glm/simd/platform.h
-}

Copied: glm/repos/community-any/PKGBUILD (from rev 509140, glm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-09 23:37:12 UTC (rev 509141)
@@ -0,0 +1,21 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Peter Hatina <phatina AT gmail.com>
+pkgname=glm
+pkgver=0.9.9.6
+pkgrel=1
+pkgdesc="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification"
+arch=('any')
+license=('MIT')
+url="http://glm.g-truc.net"
+source=("https://github.com/g-truc/glm/releases/download/${pkgver}/glm-${pkgver}.zip")
+sha512sums=('dbc3485fc983f5ef86461d9556a5a129c5d9e3be306be1aebe7ed34d2409658559112607a78d7f43513944d7f526b35605f43c31c605aa0f7a55cb3975aeab73')
+
+package() {
+    cd $pkgname
+
+    mkdir -p "$pkgdir"/usr/include/
+    cp -r glm "$pkgdir"/usr/include/
+
+    mkdir -p "$pkgdir"/usr/share/doc
+    cp -r doc "$pkgdir"/usr/share/doc/glm
+}


More information about the arch-commits mailing list