blob: fd806d7245b9bb0e08f7571ff2fc0ab8e0b420fc (
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
|
# Maintainer: BrainDamage <braindamage springlobby.info>
pkgname=cspice
pkgver="N0066"
pkgrel=2
pkgdesc="A comprehensive toolkit and api to design, simulate and analyse space missions"
arch=("x86_64")
url="https://naif.jpl.nasa.gov/naif/aboutspice.html"
depends=("glibc" "f2c")
makedepends=("tcsh")
source=("http://naif.jpl.nasa.gov/pub/naif/toolkit//C/PC_Linux_GCC_64bit/packages/cspice.tar.Z")
sha1sums=('bb1bee61522e4fac18b68364362270b4eb2f3fd8')
build() {
cd "cspice"
./makeall.csh
}
package() {
cd "cspice"
mkdir -p "$pkgdir/usr"
mkdir -p "$pkgdir/usr/share/doc"
cp -R data "$pkgdir/usr/share/cspice"
cp -R doc "$pkgdir/usr/share/doc/cspice"
cp -R exe "$pkgdir/usr/bin"
cp -R include "$pkgdir/usr/"
cp -R lib "$pkgdir/usr/"
rm "$pkgdir/usr/include/f2c.h" #we remove the vendorized header and rely on the library package to supply it instead
}
|