# # Platform Packages for Chakra, part of chakra-project.org # # maintainer abveritas@chakra-project.org # contributor Andrea Scarpino pkgname=vc pkgver=0.7.0 pkgrel=1 pkgdesc="A library to ease explicit vectorization of C++ code" url='http://code.compeng.uni-frankfurt.de/projects/vc/' arch=('x86_64') license=('LGPL3') makedepends=('cmake') source=("http://code.compeng.uni-frankfurt.de/attachments/download/158/Vc-${pkgver}.tar.gz") md5sums=('8b92e140e0a8c474f5b7c7c98c175a8c') build() { mkdir build cd build cmake ../Vc-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } check() { cd build make test } package() { cd build make DESTDIR="${pkgdir}" install }