diff options
author | EuAndreh <eu@euandre.org> | 2021-02-24 21:29:29 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-24 21:29:29 -0300 |
commit | bb9f0c1c6af37d33c53baf5946862a083296c870 (patch) | |
tree | 4990601ff27152cf084a40696bd26f651e48c372 /scripts/paku | |
parent | Update package versions (diff) | |
download | package-repository-bb9f0c1c6af37d33c53baf5946862a083296c870.tar.gz package-repository-bb9f0c1c6af37d33c53baf5946862a083296c870.tar.xz |
scripts/paku: Generate indented code that matches Guix's etc/indent.el
Diffstat (limited to '')
-rwxr-xr-x | scripts/paku | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/scripts/paku b/scripts/paku index 83a4aa2..374ff2c 100755 --- a/scripts/paku +++ b/scripts/paku @@ -54,7 +54,7 @@ EOF CHECK_INPUTS=" (inputs - \`($INPUTS))" + \`($INPUTS))" fi cat <<EOF >>"$GUIX_OUT" @@ -66,17 +66,19 @@ EOF (source (origin (method url-fetch) (uri (string-append - "https://git.euandreh.xyz/$NAME/snapshot/$NAME-" - version - ".tar.gz")) + "https://git.euandreh.xyz/$NAME/snapshot/$NAME-" + version + ".tar.gz")) (sha256 - (base32 - "$SHA256")))) + (base32 + "$SHA256")))) (build-system gnu-build-system)$CHECK_INPUTS - (arguments \`(#:make-flags (list (string-append "CC=" ,(cc-for-target)) - (string-append "PREFIX=" %output)) - #:phases (modify-phases %standard-phases - (delete 'configure)))) + (arguments \`(#:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) (synopsis (file-append source "/description")) (description (file-append source "/long-description")) (home-page (string-append "https://" name ".euandreh.xyz")) @@ -89,7 +91,7 @@ EOF NAME="$(echo "$p" | base64 --decode | jq -r '.name')" SUFFIX="$(echo "$p" | base64 --decode | jq -r '.suffix')" - printf '\n %s%s' "$NAME" "$SUFFIX" >>"$GUIX_OUT" + printf '\n %s%s' "$NAME" "$SUFFIX" >>"$GUIX_OUT" done printf ')\n' >>"$GUIX_OUT" |