updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / glmath / PKGBUILD
blob296e6a9496c17164787dbb222466150d06f168c5
1 # Peter Hatina <phatina AT gmail.com>
2 pkgname=glmath
3 pkgver=0.9.2.7
4 pkgrel=2
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=('820f1f8a8561241eb490520496414ea1')
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 {} \;