Add ability to import keys
This commit is contained in:
1 file changed
+10
@@ -132,6 +132,16 @@ build_package() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Import package-specific PGP keys if they exist
|
||||||
|
if [[ -d "keys/pgp" ]]; then
|
||||||
|
echo " Importing package-specific PGP keys..."
|
||||||
|
for keyfile in keys/pgp/*.asc; do
|
||||||
|
if [[ -f "$keyfile" ]]; then
|
||||||
|
gpg --import "$keyfile" 2>/dev/null && echo " ✓ Imported $(basename "$keyfile")" || echo " ⚠ Failed to import $(basename "$keyfile")"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
# Build package with signing
|
# Build package with signing
|
||||||
MAKEPKG_FLAGS="-scf --noconfirm"
|
MAKEPKG_FLAGS="-scf --noconfirm"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user