index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-14 15:51:46 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-14 15:51:46 +0100 |
commit | 88dbd44bcc25d3a59e721915b887daa39acc0b66 (patch) | |
tree | 22692c153ee933c7ed26f493c4d120f94926d8bd | |
parent | 09fee973260d9d2c944e6538d46be157aae74236 (diff) |
-rwxr-xr-x | lib/mysql-functions | 17 |
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}" | \ |