index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-10-17 11:00:34 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-17 11:00:34 +0200 |
commit | e1949ad20973a38581c6503cfb0438c24e469211 (patch) | |
tree | 7d04eb39627f2331a10433cb66c31fb69c98bc38 | |
parent | 7ea8bac9b1cbe09f425cff4dc22bdb614ae9a65c (diff) |
-rwxr-xr-x | lib/mysql-functions | 8 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 9e56319..2956434 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -463,7 +463,8 @@ mysql_generate_package_metadata() { printf '`pkgver`,' printf '`pkgrel`,' printf '`sub_pkgrel`,' - printf '`architecture`' + printf '`architecture`,' + printf '`compression`' printf ') SELECT' printf ' `build_assignments`.`id`,' printf '`links`.`%s`,' \ @@ -472,7 +473,10 @@ mysql_generate_package_metadata() { 'pkgver' \ 'pkgrel' printf '@sub_pkgrel,' - printf '`architectures`.`id`' + printf '`architectures`.`id`,' +# TODO: somehow extract the compression from the PKGBUILD (?) + printf '%s' \ + "${compression_ids__tar_xz}" printf ' FROM `links`' printf ' JOIN `architectures`' printf ' ON `links`.`architecture`=`architectures`.`name`' |