flatpak: enable Python/Perl plugins; bundle Perl runtime module

This commit is contained in:
2026-03-12 20:28:24 -06:00
parent b23c1a73ca
commit 4754cf3927
2 changed files with 23 additions and 4 deletions

20
flatpak/perl.json Normal file
View File

@@ -0,0 +1,20 @@
{
"name": "perl",
"buildsystem": "simple",
"build-commands": [
"./Configure -des -Dprefix=/app -Dvendorprefix=/app -Duseshrplib -Dman1dir=none -Dman3dir=none",
"make -j${FLATPAK_BUILDER_N_JOBS}",
"make install"
],
"cleanup": [
"/share/man",
"/lib/perl5/*/*/CORE/*.a"
],
"sources": [
{
"type": "archive",
"url": "https://www.cpan.org/src/5.0/perl-5.40.1.tar.xz",
"sha256": "c8fef42d36fef2e129532d38648d4f9efb06efec87d20fdbd2865ed24dbadb68"
}
]
}