From 9282991429a92d6df17213acdc49fe687f42da6c Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Thu, 23 Jul 2026 15:34:43 -0400 Subject: download db is now source db, ready to start build --- snag/src/package.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'snag/src/package.h') diff --git a/snag/src/package.h b/snag/src/package.h index a96c5c1..54009c1 100644 --- a/snag/src/package.h +++ b/snag/src/package.h @@ -3,8 +3,12 @@ #include -// this struct is the "handle" of a package to be passed into other package -// functions +typedef struct { + char* name; + char* url; + char* checksum; +} source_info_t; + typedef struct { char* script_path; struct { @@ -15,8 +19,7 @@ typedef struct { char* webpage; char* license; char* version; - char* source_url; - char* source_checksum; + source_info_t source; } attrs; } package_info_t; -- cgit v1.2.3