Browse Source

gnu: ucd: Use copy-build-system.

* gnu/packages/unicode.scm (ucd)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
version-1.1.0
Efraim Flashner 2 years ago
parent
commit
a18ed1711f
Signed by: efraim GPG Key ID: 41AAE7DCCA3D8351
  1. 13
      gnu/packages/unicode.scm

13
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

Loading…
Cancel
Save