gnu: ncmpcpp: Use 'modify-phases'.

* gnu/packages/mpd.scm (ncmpcpp)[arguments]: Use 'modify-phases'.
This commit is contained in:
Leo Famulari 2016-02-21 03:30:30 -05:00
parent 944d2b17b5
commit 9913c78a09

View file

@ -4,6 +4,7 @@
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com> ;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -202,12 +203,11 @@ (define-public ncmpcpp
'(#:configure-flags '(#:configure-flags
'("BOOST_LIB_SUFFIX=" "--with-taglib") '("BOOST_LIB_SUFFIX=" "--with-taglib")
#:phases #:phases
(alist-cons-after (modify-phases %standard-phases
'unpack 'autogen (add-after 'unpack 'autogen
(lambda _ (lambda _
(setenv "NOCONFIGURE" "true") (setenv "NOCONFIGURE" "true")
(zero? (system* "sh" "autogen.sh"))) (zero? (system* "sh" "autogen.sh")))))))
%standard-phases)))
(synopsis "Featureful ncurses based MPD client inspired by ncmpc") (synopsis "Featureful ncurses based MPD client inspired by ncmpc")
(description "Ncmpcpp is an mpd client with a UI very similar to ncmpc, (description "Ncmpcpp is an mpd client with a UI very similar to ncmpc,
but it provides new useful features such as support for regular expressions but it provides new useful features such as support for regular expressions