unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 227d781e10de5cdc8e8fd76af0a60e256ae1a6c3 662 bytes (raw)
name: gnu/packages/patches/laby-make-install.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
From e9896b8951f9faf1f76a3b45be6e70d0aeb30a73 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Sat, 15 Nov 2014 17:48:18 +0100
Subject: [PATCH] Add make install.

---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index ca18c1e..65af31b 100644
--- a/Makefile
+++ b/Makefile
@@ -19,4 +19,9 @@ dist:
 	@git archive --prefix="$(PROJECT_ARCHIVE)/" HEAD \
 		 | gzip >_dist/"$(PROJECT_ARCHIVE)".tar.gz
 	@echo archive stored in "_dist/$(PROJECT_ARCHIVE).tar.gz"
+
+install:
+	strip laby
+	cp laby /usr/games/laby
+	mkdir -p /usr/share/laby
+	tar -C data -cf - . | tar -C /usr/share/laby -xf-
-- 
2.1.4

debug log:

solving 227d781 ...
found 227d781 in https://yhetil.org/guix-devel/87egcleiig.fsf@gnu.org/

applying [1/1] https://yhetil.org/guix-devel/87egcleiig.fsf@gnu.org/
diff --git a/gnu/packages/patches/laby-make-install.patch b/gnu/packages/patches/laby-make-install.patch
new file mode 100644
index 0000000..227d781

1:21: space before tab in indent.
 	@git archive --prefix="$(PROJECT_ARCHIVE)/" HEAD \
1:22: space before tab in indent.
 		 | gzip >_dist/"$(PROJECT_ARCHIVE)".tar.gz
1:23: space before tab in indent.
 	@echo archive stored in "_dist/$(PROJECT_ARCHIVE).tar.gz"
1:30: trailing whitespace.
-- 
Checking patch gnu/packages/patches/laby-make-install.patch...
Applied patch gnu/packages/patches/laby-make-install.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 227d781e10de5cdc8e8fd76af0a60e256ae1a6c3	gnu/packages/patches/laby-make-install.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).