From: Leo Famulari <leo@famulari.name>
To: Kei Kebreau <kkebreau@posteo.net>
Cc: Kei Kebreau <kei@openmailbox.org>, 29445@debbugs.gnu.org
Subject: [bug#29445] [PATCH] gnu: Add roguebox-adventures.
Date: Sun, 26 Nov 2017 18:13:16 -0500 [thread overview]
Message-ID: <20171126231316.GA22939@jasmine.lan> (raw)
In-Reply-To: <20171125210928.24879-1-kkebreau@posteo.net>
[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]
On Sat, Nov 25, 2017 at 04:09:28PM -0500, Kei Kebreau wrote:
Thanks! Overall LGTM, but I have some nitpicks...
> + (package
> + (name "roguebox-adventures")
> + (version (string-append "2.1.2." revision "." (string-take commit 7)))
How about (version (git-version "2.1.2" revision commit)) ?
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://git.postactiv.com/themightyglider/RogueBoxAdventures")
> + (commit commit)))
And similarly, (file-name (git-file-name name version))
> + (replace 'build
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (data (string-append
^
There are too many spaces here --| and also in the install phase.
> + (mkdir-p bin)
> + (mkdir-p doc)
> +
> + (copy-file "main.py"
> + (string-append bin "/roguebox-adventures"))
> + (chmod (string-append bin "/roguebox-adventures") #o555)
> +
> + (for-each (lambda (file)
> + (copy-recursively file
> + (string-append data "/" file)))
> + '("AUDIO" "FONT" "GRAPHIC" "LIB" "LICENSE"
> + "icon_big.png" "icon_small.png"))
> +
> + (copy-file "DOC" (string-append doc "/roguebox-adventures"))
And we could simplify a bit by using install-file instead of mkdir-p and
copy-file.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-11-26 23:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-25 21:09 [bug#29445] [PATCH] gnu: Add roguebox-adventures Kei Kebreau
2017-11-26 23:13 ` Leo Famulari [this message]
2017-11-28 0:12 ` Kei Kebreau
2017-11-28 2:17 ` Leo Famulari
2017-11-28 14:55 ` bug#29445: " Kei Kebreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171126231316.GA22939@jasmine.lan \
--to=leo@famulari.name \
--cc=29445@debbugs.gnu.org \
--cc=kei@openmailbox.org \
--cc=kkebreau@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.