summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFaruk D2018-08-29 13:36:40 +0200
committerFaruk D2018-08-29 13:36:40 +0200
commitd7d57f771378b805006461ad9e6eb4ecd65ea376 (patch)
tree48b69c625718ed107bd5a620ee4f7c7375b87491
downloadaur-d7d57f771378b805006461ad9e6eb4ecd65ea376.tar.gz
Initial version of casacore package
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD38
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9da26285120
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = casacore
+ pkgdesc = Suite of c++ libraries for radio astronomy data processing
+ pkgver = 2.4.1
+ pkgrel = 1
+ arch = i686
+ arch = x86_64
+ license = GPL-2.0
+ makedepends = make
+ makedepends = pkgconf
+ makedepends = binutils
+ makedepends = cmake
+ makedepends = gcc-fortran
+ makedepends = gcc
+ makedepends = flex
+ makedepends = bison
+ makedepends = blas
+ makedepends = lapack
+ makedepends = cfitsio
+ makedepends = wcslib
+ optdepends = sofa: only for testing casacore measures
+ optdepends = fftw
+ optdepends = hdf5
+ optdepends = python-numpy
+ optdepends = boost
+ optdepends = ncurses
+ provides = casacore
+ source = https://github.com/casacore/casacore/archive/v2.4.1.tar.gz
+ sha256sums = 58eccc875053b2c6fe44fe53b6463030ef169597ec29926936f18d27b5087d63
+
+pkgname = casacore
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bbf1af934b8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: fdiblen <fdiblen at gmail dot com>
+#
+
+pkgname="casacore"
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="Suite of c++ libraries for radio astronomy data processing"
+arch=('i686' 'x86_64')
+url=""
+license=('GPL-2.0')
+makedepends=('make' 'pkgconf' 'binutils' 'cmake' 'gcc-fortran' 'gcc' 'flex'
+ 'bison' 'blas' 'lapack' 'cfitsio' 'wcslib'
+ )
+depends=('')
+optdepends=('sofa: only for testing casacore measures'
+ 'fftw' 'hdf5' 'python-numpy' 'boost' 'ncurses')
+conflicts=('')
+provides=("${pkgname}")
+source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('58eccc875053b2c6fe44fe53b6463030ef169597ec29926936f18d27b5087d63')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir build
+
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+ install -d ${pkgdir}/usr/share/licenses/${pkgname}
+ #install -m 644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=4 sw=2 ft=sh et: