blob: cfd2d3299aabad6bd65de2cd44ac3f5b91ebae48 (
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
|
# Maintainer: Raphael Isemann <teemperor@gmail.com>
pkgname=cern-vdt
pkgver=0.3.9
pkgrel=1
pkgdesc='A vectorised math library from CERN'
arch=('i686' 'x86_64')
url='https://github.com/dpiparo/vdt'
license=('LGPL3')
depends=('glibc')
makedepends=('cmake' 'git' 'python')
source=("git+https://github.com/dpiparo/vdt.git#tag=v${pkgver}")
md5sums=('SKIP')
build() {
cd "$srcdir"/vdt
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir"/vdt/build
make DESTDIR="$pkgdir/" install
install -Dm644 ../Licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|