blob: bfac2c11685a740122f6bf6a464888d14d95dcd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer : Daniel Bermond < gmail-com: danielbermond >
pkgname=psimd-git
pkgver=r25.90a938f
pkgrel=2
pkgdesc='Header-only library for portable 128-bit SIMD intrinsics (git version)'
arch=('any')
url='https://github.com/Maratyszcza/psimd/'
license=('MIT')
makedepends=('git')
provides=('psimd')
conflicts=('psimd')
source=('git+https://github.com/Maratyszcza/psimd.git')
sha256sums=('SKIP')
pkgver() {
cd psimd
# git, no tags available
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd psimd
# headers
mkdir -p "${pkgdir}/usr/include"
install -D -m644 include/*.h "${pkgdir}/usr/include"
# license
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|