From da25194b86b0677ceafd0b90cce0207f276bcd90 Mon Sep 17 00:00:00 2001 From: Rafal Date: Mon, 12 May 2025 19:20:43 +0200 Subject: [PATCH] tfel (mfront): update to 5.0.1 (#24259) --- mingw-w64-tfel/PKGBUILD | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/mingw-w64-tfel/PKGBUILD b/mingw-w64-tfel/PKGBUILD index 7a655f683d..1dc09ff88c 100644 --- a/mingw-w64-tfel/PKGBUILD +++ b/mingw-w64-tfel/PKGBUILD @@ -3,7 +3,7 @@ _realname=tfel pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=5.0.0 +pkgver=5.0.1 pkgrel=1 pkgdesc='MFront: a code generation tool dedicated to material knowledge (mingw-w64)' arch=('any') @@ -18,26 +18,12 @@ makedepends=("unzip" $([[ ${MINGW_PACKAGE_PREFIX} == *-clang-* ]] || echo "${MINGW_PACKAGE_PREFIX}-gcc-fortran") ) license=('spdx:GPL-3.0-or-later') url='https://tfel.sourceforge.io/' -source=(https://github.com/thelfer/${_realname}/archive/TFEL-${pkgver}.zip - "fix_zmat.patch::https://github.com/thelfer/tfel/commit/3f42cd05b256deeb80e795b9c35f11dca35b7e39.patch") -sha256sums=('02a0aa6e60e0ae4dd6103171462f394197e3fdb8a96a295c313a8d853966acda' - 'd0d958d54e43c82fc94e4e9140d52520cfd07c8186df6f7d683d3af723bda9c4') +source=(https://github.com/thelfer/${_realname}/archive/TFEL-${pkgver}.zip) +sha256sums=('bf8ce82ab00d8472f9c7bd2640efc419e400b08c6ef04b6464af799c8216f589') noextract=("TFEL-${pkgver}.zip") # bsdtar could not unpack this archive -apply_patch_with_msg() { - for _patch in "$@" - do - msg2 "Applying $_patch" - patch -Np1 -i "${srcdir}/$_patch" - done -} - prepare() { unzip -oq TFEL-${pkgver}.zip -d "${srcdir}" - - cd ${_realname}-TFEL-${pkgver} - apply_patch_with_msg \ - fix_zmat.patch } build() {