30 lines
936 B
Bash
30 lines
936 B
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Alexander Susha <isushik94@gmail.com>
|
|
# Contributor: Fredrik Tegenfeldt <tegenf@gmail.com>
|
|
|
|
pkgname=xsimd
|
|
pkgver=13.1.0
|
|
pkgrel=1
|
|
pkgdesc='QuantStack tools library - Multi-dimensional arrays with broadcasting and lazy computing'
|
|
arch=(any)
|
|
url='https://github.com/QuantStack/xsimd'
|
|
license=(BSD-3-Clause)
|
|
depends=()
|
|
makedepends=(cmake
|
|
git
|
|
gtest)
|
|
source=(git+https://github.com/QuantStack/$pkgname#tag=$pkgver)
|
|
sha512sums=('67045964072964e7907a6ee1ae97199ef24aae49d69f378353aa900a1e783d1da0365cc3bee9ff16d9d70bfa68eaa39fb39efb06075681823a9015ecd8ed50bb')
|
|
|
|
build() {
|
|
cmake -B build -S $pkgname \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
|
}
|