From f80673318e366b2ae8a7666cdb804500545fabb2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 22 Mar 2023 17:17:34 -0300 Subject: src/bin/paku: Use homepage, changelog and downloads-page from paku.lock directly --- src/bin/paku | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/bin/paku') diff --git a/src/bin/paku b/src/bin/paku index 67d92f3..16967a3 100755 --- a/src/bin/paku +++ b/src/bin/paku @@ -218,9 +218,9 @@ sub emit_nix() { longDescription = '' $long ''; - homepage = "$pkg->{'base-url'}/"; - changelog = "$pkg->{'base-url'}/CHANGELOG.html"; - downloadPage = "$pkg->{'base-url'}/#releases"; + homepage = "$pkg->{homepage}"; + changelog = "$pkg->{changelog}"; + downloadPage = "$pkg->{'downloads-page'}"; license = licenses.agpl3; platforms = platforms.unix; }; @@ -304,7 +304,7 @@ sub emit_guix() { (synopsis "$pkg->{description}") (description "$pkg->{'long-description'}") - (home-page "$pkg->{'base-url'}/") + (home-page "$pkg->{homepage}") (license licenses:agpl3+))) EOF @@ -460,7 +460,7 @@ sub emit_homebrew() { print $fh <<~EOF; class $class_name < Formula desc '$pkg->{description}' - homepage '$pkg->{'base-url'}' + homepage '$pkg->{homepage}' url '$pkg->{url}' sha256 '$pkg->{sha256}' license 'AGPL-3.0-or-later' @@ -526,7 +526,7 @@ sub emit_html() { ($ver) - $pkg->{description}

- Homepage + Homepage

Guix

-- cgit v1.2.3