Move file header info to functions

This commit is contained in:
Aoran Zeng 2025-08-09 19:28:15 +08:00
parent 8ffe5bc12d
commit e797b6f282
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -1,24 +1,26 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Jialin Lyu <jialinlvcn@aliyun.com>
* |
* Created On : <2023-09-11>
* Last Modified : <2025-08-09>
* ------------------------------------------------------------*/
define_target(wr_flathub);
/**
* @update 2025-05-27
*/
void
wr_flathub_prelude ()
{
use_this(wr_flathub);
chef_set_recipe_created_on_date (this, "2023-09-11");
chef_set_recipe_last_updated_date (this, "2025-08-09");
chef_add_recipe_authors (this, 1, "Aoran Zeng", "ccmywish@qq.com");
chef_set_current_chef (this, NULL, NULL);
chef_set_current_sous_chefs (this, 0);
chef_add_contributors (this, 1,
"Jialin Lyu", "jialinlvcn@aliyun.com");
chef_set_sources_last_updated_date (this, "2025-05-27");
def_upstream_provider("https://flathub.org/repo");
def_sources_begin()
@ -27,6 +29,9 @@ wr_flathub_prelude ()
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/flathub", DelegateToMirror},
def_sources_end()
chef_debug_target(this);
/**
* @note 使使访 (GitHub-#178)
* : flathub.gpg