summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dfa078b8a2c5808531145c22597aa3fbefe36db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Nicholas Dumas <nicholas.dumas@outlook.com>
pkgname=starlink-pal
pkgrel=1
pkgdesc="Positional Astronomy Library"
url="https://github.com/Starlink/pal"
arch=('x86_64' 'i686')
license=('LGPL3')
source=('https://github.com/Starlink/pal/releases/download/v0.9.8/pal-0.9.8.tar.gz')
depends=('erfa')
conflicts=('icecube-pal-git')
pkgver=v0.9.8
md5sums=('SKIP')

build() {
  cd "${srcdir}/pal-0.9.8"
  ./configure --prefix=/usr --without-starlink
  make
}

package() {
  cd "${srcdir}/pal-0.9.8"
  make DESTDIR="$pkgdir/" install
}