summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 4e0ce93..b9ae4ab 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -535,6 +535,15 @@ mysql_generate_package_metadata() {
s|^| (from_base64("|
s|$|")),|
'
+ printf ' (CONCAT(from_base64("%s"),"-",from_base64("%s"),":",from_base64("%s"),"-",from_base64("%s"))),\n' \
+ "${pkgname}" \
+ "${epoch}" \
+ "${pkgver}" \
+ "${pkgrel}"
+ printf ' (CONCAT(from_base64("%s"),"-",from_base64("%s"),":",from_base64("%s"))),\n' \
+ "${pkgname}" \
+ "${epoch}" \
+ "${pkgver}"
printf ' (from_base64("%s"));\n' \
"${pkgname}"
@@ -546,6 +555,14 @@ mysql_generate_package_metadata() {
s|^| (from_base64("|
s|$|")),|
'
+ if printf '%s' "${pkgname}" | \
+ base64 -d | \
+ grep -q -- '-doc$'; then
+ printf ' (CONCAT(from_base64("%s"),"-",from_base64("%s"),":",from_base64("%s"))),\n' \
+ "$(printf '%s' "${pkgname}" | base64 -d | sed 's/-doc$//' | base64 -w0)" \
+ "${epoch}" \
+ "${pkgver}"
+ fi
printf ' ("base");\n'
echo "${checkdepends}" | \