aboutsummaryrefslogtreecommitdiffstats
path: root/main/glm
diff options
context:
space:
mode:
Diffstat (limited to 'main/glm')
-rw-r--r--main/glm/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/glm/APKBUILD b/main/glm/APKBUILD
index 5bba2acd4..e4a7e32fe 100644
--- a/main/glm/APKBUILD
+++ b/main/glm/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glm
-pkgver=0.9.6.3
-pkgrel=1
+pkgver=0.9.7.1
+pkgrel=0
pkgdesc="C++ mathematics library for graphics programming"
url="http://glm.g-truc.net/"
arch="all"
@@ -11,7 +11,7 @@ depends_dev=""
makedepends="$depends_dev cmake"
install=""
subpackages="$pkgname-dev"
-source="http://downloads.sourceforge.net/ogl-math/glm-$pkgver/glm-$pkgver.zip"
+source="https://github.com/g-truc/glm/releases/download/$pkgver/glm-$pkgver.zip"
_builddir="$srcdir"/glm
prepare() {
@@ -31,6 +31,7 @@ build() {
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib \
|| return 1
make
}
@@ -40,6 +41,6 @@ package() {
make install DESTDIR="$pkgdir"
}
-md5sums="acd0b517c37ed25c3f11ee155ee8257e glm-0.9.6.3.zip"
-sha256sums="14651b56b10fa68082446acaf6a1116d56b757c8d375b34b5226a83140acd2b2 glm-0.9.6.3.zip"
-sha512sums="8f0c58c47a13467b03283dca2c1506548a4dd084d5afa18e81f4afac66edc19d59706f5bdbd226b8687c3ab54f14f5ee4be6066cf7c60a13b9ffc6d70a23794c glm-0.9.6.3.zip"
+md5sums="d8eb837be847e57d2599934c7cfc1448 glm-0.9.7.1.zip"
+sha256sums="aa1a504e991bbe33a32f394de8d39d43cc800cbb3d99c2fa75b4a473eba606db glm-0.9.7.1.zip"
+sha512sums="68c5b2460724da608691ec3dde626e871a50d2428fbbb41ac1d9d37567e39f6b2fae1d146a0a944cf340bc5119ec237793e7871190d3f1b132431436a6149fe0 glm-0.9.7.1.zip"