gnu: Switch to using the version-major procedure.

* gnu/packages/audio.scm (ardour)[arguments]: Switch to using version-major.
  (hmmer)[source]: Switch to using version-major.
  (pidgin)[native-search-paths]: Switch to using version-major.
  (r-minimal)[source]: Switch to using version-major.
This commit is contained in:
Christopher Baines 2017-12-01 07:58:24 +00:00
parent 47dc9a0dae
commit 9cf5f134d5
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577
4 changed files with 4 additions and 4 deletions

View file

@ -222,7 +222,7 @@ (define-public ardour
(modify-phases %standard-phases
(add-after
'unpack 'set-rpath-in-LDFLAGS
,(ardour-rpath-phase (version-prefix version 1))))
,(ardour-rpath-phase (version-major version))))
#:test-target "test"
#:python ,python-2))
(inputs

View file

@ -2917,7 +2917,7 @@ (define-public hmmer
(method url-fetch)
(uri (string-append
"http://eddylab.org/software/hmmer"
(version-prefix version 1) "/"
(version-major version) "/"
version "/hmmer-" version ".tar.gz"))
(sha256
(base32

View file

@ -387,7 +387,7 @@ (define-public pidgin
(list (search-path-specification
(variable "PURPLE_PLUGIN_PATH")
(files (list (string-append "lib/purple-"
(version-prefix version 1))
(version-major version))
"lib/pidgin")))))
(home-page "http://www.pidgin.im/")
(synopsis "Graphical multi-protocol instant messaging client")

View file

@ -114,7 +114,7 @@ (define-public r-minimal
(source (origin
(method url-fetch)
(uri (string-append "mirror://cran/src/base/R-"
(version-prefix version 1) "/R-"
(version-major version) "/R-"
version ".tar.gz"))
(sha256
(base32