2.0.2-2: libplist 2.3.0
[arch-packages.git] / vc / repos / extra-x86_64 / PKGBUILD
blob4d880118dd3cb7b1d37e352fbfa416ef63b18763
1 # Maintainer:
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: PedsXing <pedsxing at gmx dot net>
5 pkgname=vc
6 pkgver=1.4.3
7 pkgrel=1
8 pkgdesc='A library to ease explicit vectorization of C++ code'
9 url='https://github.com/VcDevel/Vc'
10 arch=(x86_64)
11 license=(LGPL3)
12 makedepends=(cmake)
13 source=(https://github.com/VcDevel/Vc/releases/download/$pkgver/Vc-$pkgver.tar.gz)
14 sha256sums=('988ea0053f3fbf17544ca776a2749c097b3139089408b0286fa4e9e8513e037f')
16 build() {
17   cmake -B build -S Vc-$pkgver \
18     -DCMAKE_INSTALL_PREFIX=/usr \
19     -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \
20     -DTARGET_ARCHITECTURE=generic
21   cmake --build build
24 package() {
25   DESTDIR="$pkgdir" cmake --install build