From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0kNl-0000YX-PP for guix-patches@gnu.org; Tue, 27 Mar 2018 04:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0kNj-0008Vo-LP for guix-patches@gnu.org; Tue, 27 Mar 2018 04:55:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0kNj-0008VX-HP for guix-patches@gnu.org; Tue, 27 Mar 2018 04:55:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0kNj-0004RG-AR for guix-patches@gnu.org; Tue, 27 Mar 2018 04:55:03 -0400 Subject: [bug#30960] [PATCH 1/4] gnu: font-lato: Switch to font-build-system. References: <20180327084914.19263-1-arunisaac@systemreboot.net> In-Reply-To: <20180327084914.19263-1-arunisaac@systemreboot.net> Resent-Message-ID: From: Arun Isaac Date: Tue, 27 Mar 2018 14:23:44 +0530 Message-Id: <20180327085347.19996-1-arunisaac@systemreboot.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30960@debbugs.gnu.org * gnu/packages/fonts.scm (font-lato): Switch to font-build-system. --- gnu/packages/fonts.scm | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index f57d5114a..567483889 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -202,27 +202,7 @@ sans-serif designed for on-screen reading. It is used by GNOME@tie{}3.") (sha256 (base32 "1f5540g0ja1nx3ddd3ywn77xc81ssrxpq8n3gyb9sabyq2b4xda2")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils) - (srfi srfi-26)) - - (let ((PATH (string-append (assoc-ref %build-inputs - "unzip") - "/bin")) - (font-dir (string-append %output - "/share/fonts/truetype"))) - (setenv "PATH" PATH) - (system* "unzip" (assoc-ref %build-inputs "source")) - - (mkdir-p font-dir) - (for-each (lambda (ttf) - (install-file ttf font-dir)) - (find-files "." "\\.ttf$")))))) - - (native-inputs `(("unzip" ,unzip))) + (build-system font-build-system) (home-page "http://www.latofonts.com/lato-free-fonts/") (synopsis "Lato sans-serif typeface") (description -- 2.15.1