Date: Friday, July 24, 2015 @ 11:01:25 Author: svenstaro Revision: 137359
archrelease: copy trunk to community-staging-any Added: glm/repos/community-staging-any/ glm/repos/community-staging-any/PKGBUILD (from rev 137358, glm/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: glm/repos/community-staging-any/PKGBUILD (from rev 137358, glm/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2015-07-24 09:01:25 UTC (rev 137359) @@ -0,0 +1,25 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Peter Hatina <phatina AT gmail.com> +pkgname=glm +pkgver=0.9.6.3 +pkgrel=2 +pkgdesc="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification" +arch=('any') +license=('MIT') +url="http://glm.g-truc.net" +source=("http://sourceforge.net/projects/ogl-math/files/glm-$pkgver/glm-$pkgver.zip") +md5sums=('acd0b517c37ed25c3f11ee155ee8257e') + +package() { + cd $pkgname + mkdir -p $pkgdir/usr/include/glm + mkdir -p $pkgdir/usr/share/doc + cp -r glm $pkgdir/usr/include + cp -r doc $pkgdir/usr/share/doc/glm + rm -f $pkgdir/usr/include/glm/CMakeLists.txt + find $pkgdir -type f -exec chmod 644 {} \; + find $pkgdir -type d -exec chmod 755 {} \; + + install -Dm644 util/FindGLM.cmake $pkgdir/usr/share/cmake-3.3/Modules/FindGLM.cmake + install -Dm644 copying.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +}