Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
lib32-glm


Commits:
8943b141 by Sandy Carter at 2024-04-01T14:53:03-04:00
Move cmake export config during configuration step

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = lib32-glm
        pkgdesc = C++ mathematics library for 3D software based on the OpenGL 
Shading Language (GLSL) specification
        pkgver = 1.0.0
-       pkgrel = 2
+       pkgrel = 3
        url = http://glm.g-truc.net
        arch = x86_64
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 # Contributor: Peter Hatina <phatina AT gmail.com>
 pkgname=lib32-glm
 pkgver=1.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="C++ mathematics library for 3D software based on the OpenGL Shading 
Language (GLSL) specification"
 arch=('x86_64')
 license=('MIT')
@@ -20,6 +20,7 @@ build() {
   cmake -S glm-${pkgver} -B build -G Ninja \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_DATAROOTDIR=/usr/lib32/cmake \
     -DCMAKE_INSTALL_LIBDIR=lib32 \
     -W no-dev
   cmake --build build --verbose
@@ -28,9 +29,6 @@ build() {
 package() {
   DESTDIR="$pkgdir" cmake --install build
 
-  mkdir "$pkgdir"/usr/lib32/cmake
-  mv "$pkgdir"/usr/share/glm "$pkgdir"/usr/lib32/cmake/glm
-
   rm -rf "$pkgdir"/usr/include
 
   install -vDm 644 glm-${pkgver}/copying.txt -t 
"${pkgdir}/usr/share/licenses/${pkgname}"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-glm/-/commit/8943b14164ca115bb9d874d0519c3d996feeee67

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-glm/-/commit/8943b14164ca115bb9d874d0519c3d996feeee67
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to