diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = petsc-git pkgdesc = Portable, extensible toolkit for scientific computation - pkgver = 3.18.1.24.g1f6a6395d11 + pkgver = 3.18.1.r24.g1f6a6395d11 pkgrel = 1 url = https://petsc.org install = petsc.install @@ -43,8 +43,8 @@ pkgbase = petsc-git optdepends = suitesparse: Sparse matrix library optdepends = superlu: Subroutines for sparsse linear systems optdepends = libyaml: configuration files - provides = petsc=3.18.1.24.g1f6a6395d11 - provides = petsc4py=3.18.1.24.g1f6a6395d11 + provides = petsc=3.18.1 + provides = petsc4py=3.18.1 conflicts = petsc options = staticlibs source = git+https://gitlab.com/petsc/petsc.git#branch=release @@ -6,7 +6,7 @@ _base=petsc pkgname=${_base}-git -pkgver=3.18.1.24.g1f6a6395d11 +pkgver=3.18.1.r24.g1f6a6395d11 pkgrel=1 _config=linux-c-opt # if --with-debugging=yes is set then PETSC_ARCH is automatically set to @@ -113,7 +113,7 @@ export PETSC_ARCH=${_config} pkgver() { cd "${srcdir}"/"${_base}" - git describe --tags --match '*.*' | tr '-' '.' | sed 's-^v--' + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |