gnu: moka-icon-theme: Simplify package definition.

* gnu/packages/gnome.scm (moka-icon-theme): Inherit faba-icon-theme to avoid
  duplicating similar package definition.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Brendan Tildesley 2017-11-03 19:58:52 +11:00 committed by Ludovic Courtès
parent d935e6a12c
commit 8b0e4177ee
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6341,6 +6341,7 @@ (define-public faba-icon-theme
(define-public moka-icon-theme
(package
(inherit faba-icon-theme)
(name "moka-icon-theme")
(version "5.3.6")
(source (origin
@ -6352,26 +6353,9 @@ (define-public moka-icon-theme
(sha256
(base32
"04axinv79qnngsxkwqzi5j9lc3hn24rjqps5ai8d42pdnfaf0x37"))))
(build-system gnu-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-makefile.am
(lambda _
(substitute* '("Makefile.am")
(("\\$\\(DESTDIR\\)/usr/share")
"$(datadir)"))
#t))
(add-after 'patch-makefile.am 'bootstrap
(lambda _
(zero? (system* "autoreconf" "-vif")))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)))
(synopsis "Moka icon theme")
(description "Moka is a stylized desktop icon set, designed to be clear,
simple and consistent.")
(home-page "http://snwh.org/moka")
(license license:gpl3+)))
(define-public arc-icon-theme