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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Nov 5 01:17:18 UTC 2018


    Date: Monday, November 5, 2018 @ 01:17:18
  Author: svenstaro
Revision: 401536

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-05 01:17:07 UTC (rev 401535)
+++ PKGBUILD	2018-11-05 01:17:18 UTC (rev 401536)
@@ -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.2
-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=('f50059118d907f7e7fa06f0c38dff15aa0cdec61b3ff0059b927d100ce9891f3c1aa3e2c120555891c096b428868006aa5e35c4f82d57198382f3a94240ee9f9')
-
-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 401535, glm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-05 01:17:18 UTC (rev 401536)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Peter Hatina <phatina AT gmail.com>
+pkgname=glm
+pkgver=0.9.9.3
+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=('eb7589345eb627d9fda84771bd2cf3eb0e4e9e48bf6bb7490bd8844b66558717de5dc96cde9d66e81f7ba4e54090f18dbe1bbccb2452ed0ed8c17cdf7b6e4aa2')
+
+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
+}


More information about the arch-commits mailing list