gnu: moka-icon-theme: Simplify package definition.
authorBrendan Tildesley <brendan.tildesley@openmailbox.org>
Fri, 3 Nov 2017 08:58:52 +0000 (19:58 +1100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 6 Nov 2017 23:12:11 +0000 (00:12 +0100)
* 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>
gnu/packages/gnome.scm

index 2ea3c3b..205e3d1 100644 (file)
@@ -6341,6 +6341,7 @@ Moka")
 
 (define-public moka-icon-theme
   (package
+    (inherit faba-icon-theme)
     (name "moka-icon-theme")
     (version "5.3.6")
     (source (origin
@@ -6352,26 +6353,9 @@ Moka")
               (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