Alien-ghostty

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

            my @cmd = (
                $zig, 'build',
                '-Demit-lib-vt=true',
                '-Demit-xcframework=false',
                '-Doptimize=ReleaseFast',
                '-Dcpu=baseline',
                ($app_version ? "-Dversion-string=$app_version" : ()),
                ($lib_version && $commit ? "-Dlib-version-string=$lib_version+$commit" : ()),
                '--prefix', $prefix,
                '--cache-dir', '.zig-cache',
                '--global-cache-dir', '.zig-cache',
                '--summary', 'failures',
            );
            $build->log("+ @cmd");
            system(@cmd) == 0
                or die "Alien::ghostty: zig build failed (wait status $?)\n";
            File::Path::remove_tree('.zig-cache');
            File::Path::remove_tree($zig_dir) if index($zig, $zig_dir) == 0;

            my $pc = ($ENV{DESTDIR} // '') . "$prefix/share/pkgconfig/libghostty-vt.pc";
            open my $pc_fh, '<', $pc or die "Alien::ghostty: $pc not installed\n";



( run in 2.312 seconds using v1.01-cache-2.11-cpan-1236ad508bc )