summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2022-04-03 01:43:15 -0500
committerLuis Martinez2022-04-03 01:43:15 -0500
commit5c3ad41008526e712d8d773b30073e078ddd3fb5 (patch)
tree4552e6ba5647087bd18e3151568a2264ba67290c
parent1293998e8c1e49c4a9599ad62c8e3ecc648e0792 (diff)
downloadaur-5c3ad41008526e712d8d773b30073e078ddd3fb5.tar.gz
update to 3.4.0
* PKGBUILD rewrite
-rw-r--r--.SRCINFO47
-rw-r--r--PKGBUILD69
2 files changed, 66 insertions, 50 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 696694c89ac..8594940db7f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,32 +1,35 @@
pkgbase = casacore
- pkgdesc = Suite of c++ libraries for radio astronomy data processing
- pkgver = 3.1.2
+ pkgdesc = Suite of C++ libraries for radio astronomy data processing
+ pkgver = 3.4.0
pkgrel = 1
- arch = i686
+ url = https://github.com/casacore/casacore
arch = x86_64
- license = GPL-2.0
- makedepends = make
- makedepends = pkg-config
- makedepends = binutils
- makedepends = boost
- makedepends = boost-libs
+ license = GPL
makedepends = cmake
makedepends = gcc-fortran
- makedepends = gcc
- makedepends = flex
- makedepends = bison
- makedepends = openblas
- makedepends = lapack
- makedepends = cfitsio
- makedepends = wcslib
- makedepends = python2-numpy
+ depends = fftw
+ depends = openblas
+ depends = lapack
+ depends = cfitsio
+ depends = wcslib
optdepends = sofa: only for testing casacore measures
- optdepends = fftw
optdepends = hdf5
optdepends = ncurses
- provides = casacore
- source = https://github.com/casacore/casacore/archive/v3.1.2.tar.gz
- sha256sums = ac94f4246412eb45d503f1019cabe2bb04e3861e1f3254b832d9b1164ea5f281
+ provides = libcasa_casa.so=6-64
+ provides = libcasa_coordinates.so=6-64
+ provides = libcasa_derivedmscal.so=6-64
+ provides = libcasa_fits.so=6-64
+ provides = libcasa_images.so=6-64
+ provides = libcasa_lattices.so=6-64
+ provides = libcasa_meas.so=6-64
+ provides = libcasa_measures.so=6-64
+ provides = libcasa_mirlib.so=6-64
+ provides = libcasa_msfits.so=6-64
+ provides = libcasa_ms.so=6-64
+ provides = libcasa_scimath_f.so=6-64
+ provides = libcasa_scimath.so=6-64
+ provides = libcasa_tables.so=6-64
+ source = casacore-3.4.0.tar.gz::https://github.com/casacore/casacore/archive/v3.4.0.tar.gz
+ sha256sums = 31f02ad2e26f29bab4a47a2a69e049d7bc511084a0b8263360e6157356f92ae1
pkgname = casacore
-
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: