guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/15: gnu: ucd: Use copy-build-system.


From: guix-commits
Subject: 02/15: gnu: ucd: Use copy-build-system.
Date: Wed, 4 Mar 2020 05:10:30 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit a18ed1711f4762649fbaa5e8d69e536b4ba22fae
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 4 10:44:28 2020 +0200

    gnu: ucd: Use copy-build-system.
    
    * gnu/packages/unicode.scm (ucd)[build-system]: Switch to
    copy-build-system.
    [arguments]: Adjust accordingly.
---
 gnu/packages/unicode.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm
index 3b34096..44ef279 100644
--- a/gnu/packages/unicode.scm
+++ b/gnu/packages/unicode.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2020 Leo Prikler <address@hidden>
+;;; Copyright © 2020 Efraim Flashner <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,6 +22,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix utils)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system trivial))
 
 (define-public ucd
@@ -35,15 +37,10 @@
        (sha256
         (base32
          "1ighy39cjkmqnv1797wrxjz76mv1fdw7zp5j04q55bkwxsdkvrmh"))))
-    (build-system trivial-build-system)
+    (build-system copy-build-system)
     (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (let ((out (string-append %output "/share/ucd")))
-         (use-modules (guix build utils))
-         (mkdir-p out)
-         (copy-recursively (assoc-ref %build-inputs "source") out)
-         #t)))
+     '(#:install-plan
+       '(("." "share/ucd/"))))
     (home-page "https://www.unicode.org";)
     (synopsis "Unicode Character Database")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]