dev-libs/mathjax: Use egit_clean to clean workdir
authorJustin Lecher <jlec@gentoo.org>
Fri, 22 Jan 2016 19:40:24 +0000 (20:40 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 22 Jan 2016 21:03:03 +0000 (22:03 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-libs/mathjax/mathjax-2.2.ebuild
dev-libs/mathjax/mathjax-2.4.0.ebuild
dev-libs/mathjax/mathjax-2.5.3.ebuild

index 5334ef6374faecdf022e6621a984e7eaa6053a65..5ced6b508e51a0eeded8fed6e25e047023a7dd64 100644 (file)
@@ -1,9 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
+inherit eutils
+
 DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
 HOMEPAGE="http://www.mathjax.org/"
 SRC_URI="https://github.com/mathjax/MathJax/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -33,7 +35,7 @@ make_webconf() {
 }
 
 src_prepare() {
-       find . -name .gitignore -delete || die
+       egit_clean
 }
 
 src_install() {
index 663ef8b957359a6ce614df68b00df80d2e7f872a..e12285e258437de23fc2cda8d5e42f0859136011 100644 (file)
@@ -1,9 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
+inherit eutils
+
 DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
 HOMEPAGE="http://www.mathjax.org/"
 SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -33,7 +35,7 @@ make_webconf() {
 }
 
 src_prepare() {
-       find . -name .gitignore -delete || die
+       egit_clean
 }
 
 src_install() {
index a0042a5a30fb52db98510b886fb9e44795a1505f..c36f178b5462e4a33d25a3579ad768e615c87604 100644 (file)
@@ -1,9 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
+inherit eutils
+
 DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
 HOMEPAGE="http://www.mathjax.org/"
 SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -33,7 +35,7 @@ make_webconf() {
 }
 
 src_prepare() {
-       find . -name .gitignore -delete || die
+       egit_clean
 }
 
 src_install() {