summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0951c5c53bed37de2310cd2d1a160f95e22b1f94 (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: Nick Ƙstergaard <oe.nick at gmail dot com>
pkgname=libpredict
pkgver=2.0.0
pkgrel=3
pkgdesc="A satellite orbit prediction library"
arch=('i686' 'x86_64')
url="https://github.com/la1k/libpredict"
license=('GPL')
depends=('glibc')
makedepends=('cmake')
source=("https://github.com/la1k/libpredict/archive/v${pkgver}.tar.gz")
md5sums=('b93c7a2f2f18fbe1c5edf487bc89e097')

build() {
	cd "$pkgname-$pkgver"
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
	make
}

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