blob: 3e0eecade8274950fc747b74919bef0080b93fb3 (
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
|
# Contributor: Graziano Giuliani
# Maintainer : Austin Cross <austincross@gmail.com>
pkgname=g2clib
pkgver=1.7.0
pkgrel=1
pkgdesc="GRIB2 encoder/decoder (C version)"
url="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2"
license=("LGPL3")
arch=('i686' 'x86_64')
provides=(g2clib)
depends=(jasper libpng)
options=('staticlibs')
source=(https://github.com/NOAA-EMC/NCEPLIBS-g2c/archive/refs/tags/v${pkgver}.tar.gz)
md5sums=('8bfdce4e3494d6502b14d6abd599e8d8')
build() {
cmake -B build -S "NCEPLIBS-g2c-${pkgver}" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
# vim:set ts=2 sw=2 et:
|