guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/10: gnu: lsyncd: Don't use unstable tarball.


From: guix-commits
Subject: 06/10: gnu: lsyncd: Don't use unstable tarball.
Date: Sun, 17 Feb 2019 19:20:31 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 836931a5a7036279310ecc955fbdebca3574ab47
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Feb 17 21:39:14 2019 +0100

    gnu: lsyncd: Don't use unstable tarball.
    
    * gnu/packages/sync.scm (lsyncd)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
    [arguments]: Adjust ‘install’ phase to new source directory.
---
 gnu/packages/sync.scm | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index d8789de..df9f3b0 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -162,13 +162,13 @@ their folder.
     (version "2.2.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/axkibe/lsyncd/archive/release-";
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/axkibe/lsyncd.git";)
+             (commit (string-append "release-" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "02g054qv8rnbxywd4f0gnd13lrlns9175d3ciqnyslhs1zs15nqb"))))
+        (base32 "1q2ixp52r96ckghgmxdbms6xrq8dbziimp8gmgzqfq4lk1v1w80y"))))
     (build-system cmake-build-system)
     (arguments
      `(;; The "tests" target is broken and assumes that tests are run in the
@@ -184,10 +184,7 @@ their folder.
                     (bin (string-append out "/bin"))
                     (man (string-append out "/share/man/man1")))
                (install-file "lsyncd" bin)
-               (install-file (string-append "../lsyncd-release-"
-                                            ,version
-                                            "/doc/manpage/lsyncd.1")
-                             man)
+               (install-file "../source/doc/manpage/lsyncd.1" man)
                #t))))))
     (native-inputs
      `(("lua" ,lua-5.2)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]