updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / openctm / PKGBUILD
blob792109e450463e0fa6cd8b415af34c1ea3d35436
1 # Contributor: Daniel Kirchner <mokaga@lavabit.com>
2 pkgname=openctm
3 pkgver=1.0.3
4 pkgrel=1
5 pkgdesc="An open file format for storing compressed triangle meshes."
6 url="http://openctm.sourceforge.net/"
7 arch=('i686' 'x86_64')
8 license=('custom')
9 depends=('gtk2' 'glut')
10 makedepends=('gcc' 'make')
11 source=('http://downloads.sourceforge.net/openctm/OpenCTM-1.0.3-src.tar.bz2')
12 md5sums=('55948e7c2ad8c5807cd1b9b48718075b')
14 build() {
15   cd $srcdir/OpenCTM-$pkgver
17   sed -i -e 's/-lglut/-lglut -lGLU/' tools/Makefile.linux
19   install -d $pkgdir/usr/{lib,include,bin,man/man1}
21   make LIBDIR=$pkgdir/usr/lib INCDIR=$pkgdir/usr/include BINDIR=$pkgdir/usr/bin MAN1DIR=$pkgdir/usr/share/man/man1 -f Makefile.linux
22   make LIBDIR=$pkgdir/usr/lib INCDIR=$pkgdir/usr/include BINDIR=$pkgdir/usr/bin MAN1DIR=$pkgdir/usr/share/man/man1 -f Makefile.linux install