Archived
1
0
Fork 0

gnu: abcde: Update to 2.7.2.

* gnu/packages/cdrom.scm (abcde): Update to 2.7.2.
[arguments]: Correct sysconfdir location.
This commit is contained in:
Efraim Flashner 2016-10-15 19:35:55 +03:00
parent 2e36f7e6b2
commit c2a3b23fba
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -288,7 +288,7 @@ from an audio CD.")
(define-public abcde (define-public abcde
(package (package
(name "abcde") (name "abcde")
(version "2.7.1") (version "2.7.2")
(home-page "https://abcde.einval.com/") (home-page "https://abcde.einval.com/")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -296,7 +296,7 @@ from an audio CD.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0l7j0nk8p30s97285i418rv9ym9bgns7bn6l8gldw3mjhnby609l")) "1pakpi41k8yd780mfp0snhia6mmwjwxk9lcrq6gynimch8b8hfda"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(substitute* "Makefile" '(substitute* "Makefile"
@ -314,7 +314,12 @@ from an audio CD.")
(("^prefix = .*$") (("^prefix = .*$")
(string-append "prefix = " (string-append "prefix = "
(assoc-ref outputs "out") (assoc-ref outputs "out")
"\n"))))) "\n"))
(("^sysconfdir = .*$")
(string-append "sysconfdir = "
(assoc-ref outputs "out")
"/etc/\n")))
#t))
(add-after 'install 'wrap (add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((wget (assoc-ref inputs "wget")) (let ((wget (assoc-ref inputs "wget"))
@ -336,7 +341,7 @@ from an audio CD.")
(for-each wrap (for-each wrap
(find-files (string-append out "/bin") (find-files (string-append out "/bin")
".*")))))) ".*"))))))
#:tests? #f)) #:tests? #f)) ; no test target
(inputs `(("wget" ,wget) (inputs `(("wget" ,wget)
("which" ,which) ("which" ,which)