scripts: metadata: use the new "Repository" field
Switch to the new "Repository" metadata field to populate tmp/.packagesubdirs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -223,6 +223,7 @@ sub parse_package_metadata($) {
|
||||
/^Build-Depends\/(\w+): \s*(.+)\s*$/ and $pkg->{"builddepends/$1"} = [ split /\s+/, $2 ];
|
||||
/^Build-Types:\s*(.+)\s*$/ and $pkg->{buildtypes} = [ split /\s+/, $1 ];
|
||||
/^Package-Subdir:\s*(.+?)\s*$/ and $pkg->{package_subdir} = $1;
|
||||
/^Repository:\s*(.+?)\s*$/ and $pkg->{repository} = $1;
|
||||
/^Category: \s*(.+)\s*$/ and do {
|
||||
$pkg->{category} = $1;
|
||||
defined $category{$1} or $category{$1} = {};
|
||||
|
||||
Reference in New Issue
Block a user