summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD69
1 files changed, 41 insertions, 28 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 295fb98ea0e..21546559b5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,51 @@
-# Maintainer: fdiblen <fdiblen at gmail dot com>
-#
+# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
+# Contributor: fdiblen <fdiblen at gmail dot com>
-pkgname="casacore"
-pkgver=3.1.2
+pkgname=casacore
+pkgver=3.4.0
pkgrel=1
-pkgdesc="Suite of c++ libraries for radio astronomy data processing"
-arch=('i686' 'x86_64')
-url=""
-license=('GPL-2.0')
-makedepends=('make' 'pkg-config' 'binutils' 'boost' 'boost-libs' 'cmake' 'gcc-fortran' 'gcc' 'flex'
- 'bison' 'openblas' 'lapack' 'cfitsio' 'wcslib' 'python2-numpy'
- )
-depends=()
-optdepends=('sofa: only for testing casacore measures'
- 'fftw' 'hdf5' 'ncurses')
-conflicts=('')
-provides=("${pkgname}")
-source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('ac94f4246412eb45d503f1019cabe2bb04e3861e1f3254b832d9b1164ea5f281')
+pkgdesc="Suite of C++ libraries for radio astronomy data processing"
+arch=('x86_64')
+url="https://github.com/casacore/casacore"
+license=('GPL')
+depends=('fftw' 'openblas' 'lapack' 'cfitsio' 'wcslib')
+makedepends=('cmake' 'gcc-fortran')
+optdepends=(
+ 'sofa: only for testing casacore measures'
+ 'hdf5'
+ 'ncurses')
+provides=(
+ 'libcasa_casa.so=6-64'
+ 'libcasa_coordinates.so=6-64'
+ 'libcasa_derivedmscal.so=6-64'
+ 'libcasa_fits.so=6-64'
+ 'libcasa_images.so=6-64'
+ 'libcasa_lattices.so=6-64'
+ 'libcasa_meas.so=6-64'
+ 'libcasa_measures.so=6-64'
+ 'libcasa_mirlib.so=6-64'
+ 'libcasa_msfits.so=6-64'
+ 'libcasa_ms.so=6-64'
+ 'libcasa_scimath_f.so=6-64'
+ 'libcasa_scimath.so=6-64'
+ 'libcasa_tables.so=6-64')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('31f02ad2e26f29bab4a47a2a69e049d7bc511084a0b8263360e6157356f92ae1')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- mkdir build
-
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- make
+ cmake \
+ -B build \
+ -S "$pkgname-$pkgver" \
+ -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_PYTHON=OFF \
+ -DUSE_CCACHE=ON \
+ -DCMAKE_BUILD_TYPE=None
+ make -C build
}
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
+ make -C build install DESTDIR="$pkgdir/"
}
# vim:set ts=4 sw=2 ft=sh et: