summaryrefslogtreecommitdiff
path: root/gnu/packages/unicode.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/unicode.scm')
-rw-r--r--gnu/packages/unicode.scm26
1 files changed, 8 insertions, 18 deletions
diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm
index 3b34096fe5..d6fe93c2e0 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 <leo.prikler@student.tugraz.at>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; 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
@@ -123,17 +120,10 @@ Unicode Technological Standard #51.")
(sha256
(base32
"0hxsc3j5zb32hmiaj0r3ajchmklx6zng6zlh1ca6s9plq5b9w9q7"))))
- (build-system trivial-build-system)
+ (build-system copy-build-system)
(arguments
- `(#:modules ((guix build utils))
- #:builder
- (let ((out (string-append %output "/share/unicode/cldr/common")))
- (use-modules (guix build utils))
- (mkdir-p out)
- (copy-recursively (string-append (assoc-ref %build-inputs "source")
- "/common")
- out)
- #t)))
+ '(#:install-plan
+ '(("common" "share/unicode/cldr/"))))
(home-page "https://www.unicode.org")
(synopsis "Locale data repository")
(description