summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96bfa19e5c288ebdb9d0543237a0d16387808dba (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>

pkgname=astromatic-psfex
_pkgname=psfex
pkgver=3.21.1
pkgrel=2
pkgdesc="extracts models of the PSF from FITS images processed with sextractor"
url="http://www.astromatic.net/software/sextractor"
arch=('x86_64')
license=('GPL')
depends=('astromatic-sextractor')
makedepends=()
provides=()
backup=()
source=(https://github.com/astromatic/psfex/archive/${pkgver}.tar.gz)
sha1sums=('b2b33fdde68230de21cfb6868fb999b5d30fcea4')


build() {

	_COPTS="--enable-openblas --with-openblas-incdir=/usr/include"

	cd $srcdir/${_pkgname}-${pkgver}
	sh autogen.sh
	./configure --prefix=/usr $_COPTS
	make
}

package() {

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

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

}