summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2021-05-15 22:38:40 +0200
committerFrederic Bezies2021-05-15 22:38:40 +0200
commite956398ba8e23bf006586dfa19e9d82bd975725a (patch)
tree342385eb40c1cd12ebe42ae2c4370e1725f039f9
parentd7de4eb70178ebfcbd9e4232c54105eadfbcb4a0 (diff)
downloadaur-e956398ba8e23bf006586dfa19e9d82bd975725a.tar.gz
May 15th, 2021 update
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 609b817c78a..e11babab387 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Fri Mar 1 21:43:54 UTC 2019
pkgbase = glm-git
pkgdesc = C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification
- pkgver = r1920.477e803f
+ pkgver = 0.9.9.8.r174.g70f67cb4
pkgrel = 1
url = http://glm.g-truc.net
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 7a0e923172d..101e8262a7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Peter Hatina <phatina AT gmail.com>
pkgname=glm-git
-pkgver=r1920.477e803f
+pkgver=0.9.9.8.r174.g70f67cb4
pkgrel=1
pkgdesc="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification"
arch=('any')
@@ -14,7 +14,7 @@ source=("git+https://github.com/g-truc/glm.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/glm"
- printf "r%s.%s" "$(git rev-list HEAD --count --first-parent)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/glm"
@@ -34,5 +34,5 @@ package() {
find $pkgdir -type f -exec chmod 644 {} \;
find $pkgdir -type d -exec chmod 755 {} \;
-
+ install -Dm644 $srcdir/glm/copying.txt "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}