pkgname=vc pkgver=1.4.5 pkgrel=1 pkgdesc="A library to ease explicit vectorization of C++ code" url='https://github.com/VcDevel/Vc/' arch=('x86_64') license=('LGPL3') makedepends=('cmake') source=("https://github.com/VcDevel/Vc/archive/refs/tags/${pkgver}.tar.gz") md5sums=('03831cbf0921a10322d8baf08001cbf5') build() { cmake -B build -S Vc-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF #-DTARGET_ARCHITECTURE=core leaving empty will use auto, other options to test are generic and amd cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }