makedepends=(cmake)

description="A library to ease explicit vectorization of C++ code"
url="https://github.com/VcDevel/Vc"

packager="Spiky <spiky@nutyx.org>"

name=vc
version=1.4.3

source=(https://github.com/VcDevel/Vc/releases/download/$version/Vc-$version.tar.gz)

build() {

mkdir -p build && cd build

cmake ../Vc-$version \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DTARGET_ARCHITECTURE=generic

make
make DESTDIR=$PKG install
}
