blob: e39db1d85520b1d388106b6901ffa6b05bb496ec (
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
33
34
35
36
37
|
# Maintainer: Jon Wiersma (archaur at jonw dot org)
pkgname='segyio'
pkgdesc='Library for easy interaction with SEG-Y formatted seismic data with bindings for Python and Matlab'
pkgver='1.8.3'
pkgrel='1'
arch=('x86_64')
url='https://github.com/equinor/segyio'
license=('lgpl')
depends=(
'python>=2.7'
'python-numpy>=1.10'
)
makedepends=(
'cmake'
'python-setuptools>=28'
'python-setuptools-scm'
'python-pytest'
)
optdepends=(
'python-sphinx: to build the documentation'
)
source=("https://github.com/equinor/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
build() {
cd "$pkgname-$pkgver"
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$pkgname-$pkgver/build"
make DESTDIR="$pkgdir/" install
}
md5sums=('0a68792d1d7215b4f48ad735aa3d39fb')
|