diff options
author | EuAndreh <eu@euandre.org> | 2023-03-22 17:17:34 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-22 17:17:34 -0300 |
commit | f80673318e366b2ae8a7666cdb804500545fabb2 (patch) | |
tree | f2d09ebec0ca36848bf4cee51ac40e06e5b4cdd2 /src/bin | |
parent | src/bin/paku: Improve name of package variants (diff) | |
download | package-repository-f80673318e366b2ae8a7666cdb804500545fabb2.tar.gz package-repository-f80673318e366b2ae8a7666cdb804500545fabb2.tar.xz |
src/bin/paku: Use homepage, changelog and downloads-page from paku.lock directly
Diffstat (limited to 'src/bin')
-rwxr-xr-x | src/bin/paku | 12 |
1 files changed, 6 insertions, 6 deletions
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} </summary> <p> - <a href="$pkg->{'base-url'}/">Homepage</a> + <a href="$pkg->{homepage}/">Homepage</a> </p> <section> <h2>Guix</h2> |