lib32-glm

LOW
maintainer orphaned 0 votes scanned 2026-08-23 13:20:29.873780
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2# Contributor: Peter Hatina <phatina AT gmail.com>
3pkgname=lib32-glm
4pkgver=1.0.3
5pkgrel=1
6pkgdesc="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification"
7arch=('x86_64')
8license=('MIT')
9url="http://glm.g-truc.net"
10depends=('glm')
11makedepends=('cmake' 'ninja' 'lib32-gcc-libs')
12source=("$pkgname-$pkgver.tar.gz::https://github.com/g-truc/glm/archive/refs/tags/${pkgver}.tar.gz")
13sha512sums=('0a490f0c79cd4a8ba54f37358f8917cef961dab9e61417c84ae0959c61bc860e5b83f4fb7f27169fb3d08eef1d84131bddde23d60876922310205c901b1273aa')
14
15build() {
16 export CC='gcc -m32'
17 export CXX='g++ -m32'
18 export CXXFLAGS+=" -ffat-lto-objects"
19
20 cmake -S glm-${pkgver} -B build -G Ninja \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_DATAROOTDIR=/usr/lib32/cmake \
24 -DCMAKE_INSTALL_LIBDIR=lib32 \
25 -W no-dev
26 cmake --build build --verbose
27}
28
29package() {
30 DESTDIR="$pkgdir" cmake --install build
31
32 rm -rf "$pkgdir"/usr/include
33
34 install -vDm 644 glm-${pkgver}/copying.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
35}
36

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 13:20:29 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion