[arch-commits] Commit in cgns/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sat Mar 19 15:31:13 UTC 2022
Date: Saturday, March 19, 2022 @ 15:31:13
Author: archange
Revision: 1161410
archrelease: copy trunk to community-x86_64
Added:
cgns/repos/community-x86_64/PKGBUILD
(from rev 1161409, cgns/trunk/PKGBUILD)
Deleted:
cgns/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-19 15:30:47 UTC (rev 1161409)
+++ PKGBUILD 2022-03-19 15:31:13 UTC (rev 1161410)
@@ -1,44 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkgname=CGNS
-pkgname=cgns
-pkgver=4.3.0
-pkgrel=1
-pkgdesc="Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations"
-arch=(x86_64)
-url="https://cgns.github.io/"
-license=(custom)
-depends=(tk hdf5 libxmu glu)
-makedepends=(gcc-fortran cmake)
-options=(!makeflags)
-source=(https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('e25728512096ee93f8edfaa5ad4e8e03d5fd3b5598cd2a742cb716a77a444ac2')
-
-
-build() {
- cmake -B build -S ${_pkgname}-${pkgver} \
- -DCGNS_BUILD_CGNSTOOLS=ON \
- -DCGNS_BUILD_SHARED=ON \
- -DCGNS_ENABLE_64BIT=ON \
- -DCGNS_ENABLE_FORTRAN=ON \
- -DCGNS_ENABLE_HDF5=ON \
- -DCGNS_ENABLE_LEGACY=ON \
- -DCGNS_ENABLE_SCOPING=OFF \
- -DCGNS_ENABLE_TESTS=ON \
- -DCMAKE_BUILD_TYPE="Release" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON
- make -C build
-}
-
-
-check() {
- LD_LIBRARY_PATH="${srcdir}"/build/src/ make -C build test
-}
-
-package() {
- make -C build DESTDIR="${pkgdir}" install
- install -Dm644 ${_pkgname}-${pkgver}/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
- # Remove broken .desktop files
- rm "${pkgdir}"/usr/bin/*.desktop
-}
Copied: cgns/repos/community-x86_64/PKGBUILD (from rev 1161409, cgns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-19 15:31:13 UTC (rev 1161410)
@@ -0,0 +1,44 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=CGNS
+pkgname=cgns
+pkgver=4.3.0
+pkgrel=2
+pkgdesc="Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations"
+arch=(x86_64)
+url="https://cgns.github.io/"
+license=(custom)
+depends=(tk hdf5 libxmu glu)
+makedepends=(gcc-fortran cmake)
+options=(!makeflags)
+source=(https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('7709eb7d99731dea0dd1eff183f109eaef8d9556624e3fbc34dc5177afc0a032')
+
+
+build() {
+ cmake -B build -S ${_pkgname}-${pkgver} \
+ -DCGNS_BUILD_CGNSTOOLS=ON \
+ -DCGNS_BUILD_SHARED=ON \
+ -DCGNS_ENABLE_64BIT=ON \
+ -DCGNS_ENABLE_FORTRAN=ON \
+ -DCGNS_ENABLE_HDF5=ON \
+ -DCGNS_ENABLE_LEGACY=ON \
+ -DCGNS_ENABLE_SCOPING=OFF \
+ -DCGNS_ENABLE_TESTS=ON \
+ -DCMAKE_BUILD_TYPE="Release" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
+ make -C build
+}
+
+
+check() {
+ LD_LIBRARY_PATH="${srcdir}"/build/src/ make -C build test
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 ${_pkgname}-${pkgver}/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+ # Remove broken .desktop files
+ rm "${pkgdir}"/usr/bin/*.desktop
+}
More information about the arch-commits
mailing list