index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-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`' |