gnu: qtsyncthingtray: Use 'git-fetch'.
* gnu/packages/sync.scm (qtsyncthingtray)[source]: Use 'git-fetch'. [arguments]: Update custom 'install phase.
This commit is contained in:
parent
a69f071537
commit
afbf9763fa
|
@ -109,14 +109,14 @@ silently and reliably flow across to every other.")
|
||||||
(version "0.5.8")
|
(version "0.5.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/sieren/QSyncthingTray/archive/"
|
(url "https://github.com/sieren/QSyncthingTray")
|
||||||
version ".tar.gz"))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1024778ml7q62ziqm4d22z5sc1715l34846pwfyzfpcyl32qlhpz"))))
|
"1n9g4j7qznvg9zl6x163pi9f7wsc3x6q76i33psnm7x2v1i22x5w"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-DQST_BUILD_WEBKIT=1")
|
`(#:configure-flags '("-DQST_BUILD_WEBKIT=1")
|
||||||
|
@ -128,10 +128,8 @@ silently and reliably flow across to every other.")
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(bin (string-append out "/bin")))
|
(bin (string-append out "/bin")))
|
||||||
(install-file "QSyncthingTray" bin)
|
(install-file "QSyncthingTray" bin)
|
||||||
(install-file (string-append
|
(mkdir-p (string-append out "/share/pixmaps"))
|
||||||
"../QSyncthingTray-"
|
(copy-file "../source/resources/images/Icon1024.png"
|
||||||
,(package-version qsyncthingtray)
|
|
||||||
"/resources/images/Icon1024.png")
|
|
||||||
(string-append
|
(string-append
|
||||||
out "/share/pixmaps/QSyncthingTray.png"))
|
out "/share/pixmaps/QSyncthingTray.png"))
|
||||||
#t))))
|
#t))))
|
||||||
|
|
Loading…
Reference in New Issue