Commit c464b220 authored by Roberto Oliveira's avatar Roberto Oliveira

main/glm: upgrade to 0.9.9.3 and add check()

parent 03b6aa6c
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glm
pkgver=0.9.9.2
pkgver=0.9.9.3
pkgrel=0
pkgdesc="C++ mathematics library for graphics programming"
url="http://glm.g-truc.net/"
......@@ -9,7 +9,6 @@ license="MIT"
makedepends="cmake"
subpackages="$pkgname-dev"
source="https://github.com/g-truc/glm/releases/download/$pkgver/glm-$pkgver.zip"
options="!check" # the testsuite included in cmake in function build
builddir="$srcdir/$pkgname"
build() {
......@@ -24,9 +23,14 @@ build() {
make
}
check() {
cd "$builddir"/build
make test
}
package() {
cd "$builddir"/build
make install DESTDIR="$pkgdir"
}
sha512sums="f50059118d907f7e7fa06f0c38dff15aa0cdec61b3ff0059b927d100ce9891f3c1aa3e2c120555891c096b428868006aa5e35c4f82d57198382f3a94240ee9f9 glm-0.9.9.2.zip"
sha512sums="eb7589345eb627d9fda84771bd2cf3eb0e4e9e48bf6bb7490bd8844b66558717de5dc96cde9d66e81f7ba4e54090f18dbe1bbccb2452ed0ed8c17cdf7b6e4aa2 glm-0.9.9.3.zip"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment