gnu: guile-file-names: Update to 0.2.

* gnu/packages/guile-xyz.scm (guile-file-names): Update to 0.2.
[arguments]: Adjust build phase "build-with-guile-2.2" and rename to
"fix-target-directory".
This commit is contained in:
Ricardo Wurmus 2019-05-16 21:39:29 +02:00
parent c72c10053d
commit 481eca8002
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 4 additions and 6 deletions

View File

@ -2199,7 +2199,7 @@ from @code{tree-il}.")
(define-public guile-file-names (define-public guile-file-names
(package (package
(name "guile-file-names") (name "guile-file-names")
(version "0.1") (version "0.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://brandon.invergo.net/software/download/" (uri (string-append "http://brandon.invergo.net/software/download/"
@ -2207,16 +2207,14 @@ from @code{tree-il}.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"01ba6jdypj9cwc5rgiw384dgz12iz6ab4dsd3ai5gfklprm2a50b")))) "1kwx5hanl40960w2nhyga7ry4l6c3c57zdrihk4yajj87vn3pmi8"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'build-with-guile-2.2 (add-after 'unpack 'fix-target-directory
(lambda _ (lambda _
(substitute* "configure" (substitute* "src/Makefile.in"
(("guile-2.0") "guile-2.2"))
(substitute* "file-names/Makefile.in"
(("guilemoddir = \\$\\(GUILE_SITE\\)") (("guilemoddir = \\$\\(GUILE_SITE\\)")
"guilemoddir = $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n")) "guilemoddir = $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
#t))))) #t)))))