2 # Contributor: Dylon Edwards <deltaecho@archlinux.us>
8 pkgdesc="Tiny Vector and Matrix mathematical template library"
9 url="http://sourceforge.net/projects/tvmet/"
12 source=("http://downloads.sourceforge.net/tvmet/tvmet-${pkgver}.tar.bz2")
13 md5sums=('8e1b2ec67ebec65f680a8bd3ea38a656')
15 arch=('i686' 'x86_64')
17 makedepends=('cppunit' 'gcc')
21 # Enter the unpacked archive
22 cd "${srcdir}/${pkgname}-${pkgver}"
24 # Create a build directory
25 mkdir -p "${pkgname}-build" && cd "${pkgname}-build"
27 # Configure the package
28 ../configure --prefix=/usr \
30 --localstatedir=/var \
31 --enable-optimize || return 1
37 make check || return 1
39 # Install the package to the fakeroot directory
40 make DESTDIR=${pkgdir} install || return 1