blob: aab85cdedd5e8bb32c50862ef17494f70cd328b0 (
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
|
# Maintainer: Sylvain POULAIN <sylvain dot poulain at giscan dot com>
pkgname=lerc
pkgver=4.0.0
pkgrel=1
pkgdesc='Limited Error Raster Compression library'
arch=('x86_64')
url='https://github.com/Esri/lerc'
license=('Apache-2.0')
depends=('python' 'python-numpy')
makedepends=('cmake')
source=("https://github.com/Esri/lerc/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('b4c593ab2d28ad4c03149267db7d181462bc2977f6c908c88e7f769fed720be900936550e27cecfe32ee16b410c8a7885c1e509ae26717b5719e602922de305a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
[[ -d build ]] || mkdir build
cd "${srcdir}/${pkgname}-${pkgver}/build"
cmake -G "Unix Makefiles" .. \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr/
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}
|