aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpjotrp2017-09-16 02:37:22 +0000
committerpjotrp2017-09-16 02:37:22 +0000
commite045fd164d95a642a7dbb397cbfd280445fb7cdb (patch)
tree0cc81711a84ff40395aec16ee70101ad1cf059cb
parent6a9ab009559e0de8a97ddb479be71063af062887 (diff)
downloadguix-bioinformatics-e045fd164d95a642a7dbb397cbfd280445fb7cdb.tar.gz
-rw-r--r--gn/packages/web.scm10
1 files 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")