aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-23 00:29:13 -0300
committerEuAndreh <eu@euandre.org>2021-02-23 00:29:38 -0300
commit857dd781680aa1d86e1fc2ee69318028b5d2ecd8 (patch)
tree89808da542b35c5cc37598fc5d063fe81f3a178c /scripts
parentmanifest.scm: Add nixfmt package (diff)
downloadpackage-repository-857dd781680aa1d86e1fc2ee69318028b5d2ecd8.tar.gz
package-repository-857dd781680aa1d86e1fc2ee69318028b5d2ecd8.tar.xz
Assume repositories don't have a ./configure file, update versions
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/paku7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/paku b/scripts/paku
index b31d2c4..b7be676 100755
--- a/scripts/paku
+++ b/scripts/paku
@@ -73,7 +73,10 @@ EOF
(base32
"$SHA256"))))
(build-system gnu-build-system)$CHECK_INPUTS
- (arguments \`(#:make-flags (list (string-append "CC=" ,(cc-for-target)))))
+ (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"))
@@ -133,7 +136,7 @@ EOF
sha256 = "$SHA256";
};
- makeFlags = [ "CC=cc" ];
+ makeFlags = [ "CC=cc" "PREFIX=\$out" ];
$CHECK_INPUTS
doCheck = true;