summarylogtreecommitdiffstats
path: root/gen_pkgbuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen_pkgbuild.py')
-rw-r--r--gen_pkgbuild.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gen_pkgbuild.py b/gen_pkgbuild.py
index 0f45c7dfe72..e09ac45dbcc 100644
--- a/gen_pkgbuild.py
+++ b/gen_pkgbuild.py
@@ -1,5 +1,6 @@
import io
import logging
+import re
import sys
from lxml import etree
@@ -49,6 +50,7 @@ def main(pkgver):
loader = tornado.template.Loader('.')
content = loader.load('PKGBUILD.tmpl').generate(
pkgver=pkgver,
+ min_pkgver=re.sub(r'b\d', 'b0', pkgver),
languages=languages,
sha256sums=sha256sums,
)