core/vc/PKGBUILD
2015-10-12 11:47:33 +00:00

29 lines
578 B
Bash

pkgname=vc
pkgver=0.7.5
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=('BSD')
makedepends=('cmake')
source=("https://github.com/VcDevel/Vc/releases/download/${pkgver}/Vc-${pkgver}.tar.gz")
md5sums=('59854e2381b78d602b4a00e459e3d333')
build() {
mkdir -p 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
}