summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 0779203..0f75cb8 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -929,6 +929,10 @@ extract_source_directory() {
"${output}/PKGBUILD"
fi
+ # we do not want to update pkgver, so we just undefine it
+ printf 'unset -f pkgver\n' >> \
+ "${output}/PKGBUILD"
+
mangle_pkgbuild "${output}/PKGBUILD" "${sub_pkgrel}"
# shellcheck disable=SC2016