updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / glmath / PKGBUILD
blob283e6f3a9c534e02f2281a31b9bc9d6aef6a0f88
1 # Peter Hatina <phatina AT gmail.com>
2 pkgname=glmath
3 pkgver=0.9.3.0
4 pkgrel=1
5 pkgdesc="C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification."
6 arch=('i686' 'x86_64')
7 license=('GPL')
8 sources=("glm-$pkgver.zip")
9 source=("http://sourceforge.net/projects/ogl-math/files/glm-$pkgver/glm-$pkgver.zip")
10 url="http://glm.g-truc.net"
11 md5sums=('9615f9da4553707b0fc3de09da15b47b')
13 package() {
14     mkdir -p $pkgdir/usr/include/glm
15     cp -r $srcdir/glm-${pkgver}/glm $pkgdir/usr/include
16     rm -f $pkgdir/usr/include/glm/CMakeLists.txt
17     find $pkgdir -type f -exec chmod 644 {} \;
18     find $pkgdir -type d -exec chmod 755 {} \;