summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e3a5405a10be92a5e01e092f97298c2be516860b (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:  Yigit Dallilar <yigit.dallilar@gmail.com>
# Set it to compile with openblas-lapack

pkgname=cpl
pkgver=7.1.2
pkgrel=2
pkgdesc="ESO Common Pipeline Library"
url="https://www.eso.org/sci/software/cpl/index.html"
arch=('x86_64')
license=('GPL2')
depends=('fftw' 'wcslib' 'cfitsio')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
source=(ftp://ftp.eso.org/pub/dfs/pipelines/libraries/cpl/cpl-7.1.2.tar.gz)
sha256sums=('b6d20752420e2333e86d9a08c24a08057351a9fef97c32f5894e63fbfece463a')


build() {


	cd $srcdir/${pkgname}-${pkgver}
	./configure --prefix=/usr
	make
}

package() {

	cd $srcdir/${pkgname}-${pkgver}
	make DESTDIR="$pkgdir" install

	install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

}