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

recipes/utils/highway/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: highway
pkgver: '1.4.0'
pkgrel: '1'
pkgdesc: 'A C++ library that provides portable SIMD/vector intrinsics'
url: 'https://github.com/google/highway/'
arch: x86_64
license:
- 'Apache-2.0 AND BSD-3-Clause'

depends: []
makedepends:
- cmake
- ninja

source:
- 'https://github.com/google/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  mkdir build
  cd    build

  cmake -D CMAKE_INSTALL_PREFIX=/usr \
       -D CMAKE_BUILD_TYPE=Release   \
       -D BUILD_TESTING=OFF          \
       -D BUILD_SHARED_LIBS=ON       \
       -G Ninja ../${pkgname}-${pkgver}
  ninja
  DESTDIR=${PKGDIR} ninja install

package: |
  true