🔒 Repository is read-only – file editing is disabled.

recipes/utils/vc/PAGBUILD.yaml main

28 linii Raw ← Powrót
12345678910111213141516171819202122232425262728
pkgname: vc
pkgver: '1.4.5'
pkgrel: '2'
pkgdesc: A library to ease explicit vectorization of C++ code
url: 'https://github.com/VcDevel/Vc'
arch: x86_64
license:
- BSD 3-Clause
depends: []
makedepends:
- cmake
source:
- 'https://github.com/VcDevel/Vc/archive/refs/tags/${pkgver}.tar.gz'
sha256sums:
- eb734ef4827933fcd67d4c74aef54211b841c350a867c681c73003eb6d511a48
build: |
  mkdir -p build && cd build

  cmake ../Vc-${pkgver} \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DTARGET_ARCHITECTURE=generic

  make
  make DESTDIR=${PKGDIR} install

  install -Dm644 ./Vc-${pkgver}/LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
package: |
  true