summaryrefslogtreecommitdiff
path: root/extra/libnova/PKGBUILD
blob: f0ac20ffa04f49c9f00452e328378fd11155c80e (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
# $Id: PKGBUILD 199819 2013-11-17 07:04:35Z allan $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=libnova
pkgver=0.15.0
pkgrel=1
pkgdesc="A general purpose, double precision, celestial mechanics, astrometry and astrodynamics library."
url="http://libnova.sourceforge.net/"
license=('GPL2')
arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
source=(http://downloads.sourceforge.net/sourceforge/libnova/$pkgname-$pkgver.tar.gz)
sha1sums=('4b8d04cfca0be8d49c1ef7c3607d405a7a8b167d')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}
	autoreconf -i
	./configure --prefix=/usr
	make
}

package() {
        cd ${srcdir}/${pkgname}-${pkgver}
	make DESTDIR=${pkgdir} install
}