From e045fd164d95a642a7dbb397cbfd280445fb7cdb Mon Sep 17 00:00:00 2001 From: pjotrp Date: Sat, 16 Sep 2017 02:37:22 +0000 Subject: web-jquery --- gn/packages/web.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gn/packages/web.scm b/gn/packages/web.scm index bdd637c..6c426e1 100644 --- a/gn/packages/web.scm +++ b/gn/packages/web.scm @@ -19,7 +19,6 @@ (source (origin (method url-fetch) - ; https://github.com/jquery/jquery/archive/3.2.1.zip (uri (string-append "https://github.com/jquery/jquery/archive/" version ".zip")) (file-name (string-append name "-" version)) (sha256 @@ -40,8 +39,14 @@ (unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip")) ) (and + (mkdir-p "source") + (chdir "source") + (zero? (system* unzip source)) (mkdir-p targetdir) - (zero? (system* unzip source "-d" targetdir)) + (copy-recursively "jquery-3.2.1/dist" targetdir) + + ; (copy-recursively source targetdir) + ; (file-copy (string-append out "/dist/jquery.slim.min.j") source) )))))) (home-page "http://jquery.com/") (synopsis "JQuery web framework") @@ -78,7 +83,6 @@ (and (mkdir-p targetdir) (zero? (system* unzip source "-d" targetdir)) - ; (copy-recursively source targetdir) )))))) (home-page "http://getbootstrap.com/") (synopsis "Bootstrap web framework") -- cgit v1.2.3