[PATCH] main/bash: fix wrong version in bash.pc
Export this patch
---
main/bash/APKBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD
index 6cba929678..fafd574d82 100644
--- a/main/bash/APKBUILD
+++ b/main/bash/APKBUILD
@@ -6,7 +6,7 @@ pkgver=5.0.11
_patchlevel=${pkgver##*.}
_myver=${pkgver%.*}
_patchbase=${_myver/./}
-pkgrel=0
+pkgrel=1
pkgdesc="The GNU Bourne Again shell"
url="https://www.gnu.org/software/bash/bash.html"
arch="all"
@@ -55,6 +55,9 @@ prepare() {
done
default_prepare
+
+ # preventively set Version to please 'apk version --check'
+ sed -i "s/@PACKAGE_VERSION@/$pkgver/" "$builddir"/support/bash.pc.in
}
build() {
--
2.23.0
This has been pushed. Thanks