Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / glm
Commits: 2d6e5b98 by Sandy Carter at 2024-04-01T14:33:13-04:00 Move cmake export config during configuration step - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = 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=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') @@ -17,6 +17,7 @@ build() { cmake -S ${pkgname}-${pkgver} -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_DATAROOTDIR=/usr/lib/cmake \ -W no-dev cmake --build build --verbose } @@ -24,9 +25,6 @@ build() { package() { DESTDIR="$pkgdir" cmake --install build - mkdir "$pkgdir"/usr/lib/cmake - mv "$pkgdir"/usr/share/glm "$pkgdir"/usr/lib/cmake/glm - mkdir -p "$pkgdir"/usr/share/doc cp -r ${pkgname}-${pkgver}/doc "$pkgdir"/usr/share/doc/glm View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/glm/-/commit/2d6e5b98db054bb59555c69fb53fcd593efb1d5b -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/glm/-/commit/2d6e5b98db054bb59555c69fb53fcd593efb1d5b You're receiving this email because of your account on gitlab.archlinux.org.