sci-mathematics/rstudio: Use egit_clean to clean workdir
authorJustin Lecher <jlec@gentoo.org>
Fri, 22 Jan 2016 19:36:44 +0000 (20:36 +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>
13 files changed:
sci-mathematics/rstudio/rstudio-0.97.336.ebuild
sci-mathematics/rstudio/rstudio-0.97.551.ebuild
sci-mathematics/rstudio/rstudio-0.98.1028.ebuild
sci-mathematics/rstudio/rstudio-0.98.1091.ebuild
sci-mathematics/rstudio/rstudio-0.98.490-r1.ebuild
sci-mathematics/rstudio/rstudio-0.98.490.ebuild
sci-mathematics/rstudio/rstudio-0.98.932.ebuild
sci-mathematics/rstudio/rstudio-0.98.953.ebuild
sci-mathematics/rstudio/rstudio-0.99.473-r1.ebuild
sci-mathematics/rstudio/rstudio-0.99.482.ebuild
sci-mathematics/rstudio/rstudio-0.99.483.ebuild
sci-mathematics/rstudio/rstudio-0.99.484.ebuild
sci-mathematics/rstudio/rstudio-0.99.486.ebuild

index f473f63dd0fea1fd12a05188f5f6a78e8d9db13b..9b1726f92a22d583ec5692cb6cd47aaba136923e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,8 @@ GINVER=1.5
 
 DESCRIPTION="IDE for the R language"
 HOMEPAGE="http://www.rstudio.org"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip"
@@ -29,7 +30,8 @@ IUSE="dedicated server"
 
 QTVER=4.8
 QTSLOT=4
-RDEPEND=">=dev-lang/R-2.11.1
+RDEPEND="
+       >=dev-lang/R-2.11.1
        >=dev-libs/boost-1.50:=
        dev-libs/mathjax
        dev-libs/openssl:0
@@ -63,9 +65,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${P}-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${P}-prefs.patch \
                "${FILESDIR}"/${P}-paths.patch \
                "${FILESDIR}"/${P}-linker_flags.patch \
                "${FILESDIR}"/${P}-boost-1.53.patch
index f473f63dd0fea1fd12a05188f5f6a78e8d9db13b..9b1726f92a22d583ec5692cb6cd47aaba136923e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,8 @@ GINVER=1.5
 
 DESCRIPTION="IDE for the R language"
 HOMEPAGE="http://www.rstudio.org"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip"
@@ -29,7 +30,8 @@ IUSE="dedicated server"
 
 QTVER=4.8
 QTSLOT=4
-RDEPEND=">=dev-lang/R-2.11.1
+RDEPEND="
+       >=dev-lang/R-2.11.1
        >=dev-libs/boost-1.50:=
        dev-libs/mathjax
        dev-libs/openssl:0
@@ -63,9 +65,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${P}-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${P}-prefs.patch \
                "${FILESDIR}"/${P}-paths.patch \
                "${FILESDIR}"/${P}-linker_flags.patch \
                "${FILESDIR}"/${P}-boost-1.53.patch
index 52dc926b3bbb978ff5fc46d9e4cc6661d23c8171..261642427f8a008a860d38f3cd80a6b6ca8da22e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,9 +21,11 @@ PACKRAT_VER=0.3.0
 RMARKDOWN_VER=0.2.49
 
 DESCRIPTION="IDE for the R language"
-HOMEPAGE="http://www.rstudio.org
+HOMEPAGE="
+       http://www.rstudio.org
        https://github.com/rstudio/rstudio/"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip
@@ -93,9 +95,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.98.932-paths.patch \
                "${FILESDIR}"/${PN}-0.98.932-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch
index cdf98d37e9d20d81763fe8587e69f083d1d4d9dd..906444e2d881724ed3a70baede73fde23032d2eb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,9 +22,11 @@ RMARKDOWN_VER=0.98.1000
 SHINYAPPS_VER=0.98.1000
 
 DESCRIPTION="IDE for the R language"
-HOMEPAGE="http://www.rstudio.org
+HOMEPAGE="
+       http://www.rstudio.org
        https://github.com/rstudio/rstudio/"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip
@@ -102,9 +104,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.98.932-paths.patch \
                "${FILESDIR}"/${PN}-0.98.1091-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \
index 898d7bf14097f68c77353252c0b4bd9fefbc46ac..d7b51f9ec0f9153c9b0b575a892172b9c4ef097f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,8 @@ GINVER=1.5
 
 DESCRIPTION="IDE for the R language"
 HOMEPAGE="http://www.rstudio.org"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip"
@@ -28,7 +29,8 @@ IUSE=""
 
 QTVER=4.8
 QTSLOT=4
-RDEPEND=">=dev-lang/R-2.11.1
+RDEPEND="
+       >=dev-lang/R-2.11.1
        >=dev-libs/boost-1.50:=
        dev-libs/mathjax
        dev-libs/openssl:0
@@ -59,9 +61,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${P}-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${P}-prefs.patch \
                "${FILESDIR}"/${P}-paths.patch \
                "${FILESDIR}"/${P}-linker_flags.patch
 
index 7614e2491d8490b6ff8a758e515dacbb0b7b34db..d44e5fd89c5c4805ae523ea965308348fafe3687 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,8 @@ GINVER=1.5
 
 DESCRIPTION="IDE for the R language"
 HOMEPAGE="http://www.rstudio.org"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-dictionaries/core-dictionaries.zip"
@@ -28,7 +29,8 @@ IUSE="dedicated server"
 
 QTVER=4.8
 QTSLOT=4
-RDEPEND=">=dev-lang/R-2.11.1
+RDEPEND="
+       >=dev-lang/R-2.11.1
        >=dev-libs/boost-1.50:=
        dev-libs/mathjax
        dev-libs/openssl:0
@@ -63,9 +65,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${P}-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${P}-prefs.patch \
                "${FILESDIR}"/${P}-paths.patch \
                "${FILESDIR}"/${P}-linker_flags.patch
 
index a76aaada295792715d6e01f38811f4ef1ea85e9f..25d85f426d713599dbd8034a339efcee5720e059 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,7 +21,8 @@ RMARKDOWN_VER=0.2.49
 
 DESCRIPTION="IDE for the R language"
 HOMEPAGE="http://www.rstudio.org"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip
@@ -94,9 +95,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${P}-paths.patch \
                "${FILESDIR}"/${P}-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch
index 996d2f18d461973507c0a48586b331ca262edd2b..f9d1868d5f357946604c7e593893ec01d2930ff2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,7 +21,8 @@ RMARKDOWN_VER=0.2.49
 
 DESCRIPTION="IDE for the R language"
 HOMEPAGE="http://www.rstudio.org"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GINVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWTVER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUMVER}.zip
@@ -95,9 +96,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.98.932-paths.patch \
                "${FILESDIR}"/${PN}-0.98.932-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch
index 3682c5ca0fd0b773f26bb06db465f00147bb55e6..64818de5367ecef296e951e6e31af465aaa312c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -26,9 +26,11 @@ SHINYAPPS_VER=0.98.1000
 RSCONNECT_VER=0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0
 
 DESCRIPTION="IDE for the R language"
-HOMEPAGE="http://www.rstudio.org
+HOMEPAGE="
+       http://www.rstudio.org
        https://github.com/rstudio/rstudio/"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GIN_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWT_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUM_VER}.zip
@@ -123,9 +125,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.99.473-paths.patch \
                "${FILESDIR}"/${PN}-0.99.473-clang-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \
index 3682c5ca0fd0b773f26bb06db465f00147bb55e6..64818de5367ecef296e951e6e31af465aaa312c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -26,9 +26,11 @@ SHINYAPPS_VER=0.98.1000
 RSCONNECT_VER=0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0
 
 DESCRIPTION="IDE for the R language"
-HOMEPAGE="http://www.rstudio.org
+HOMEPAGE="
+       http://www.rstudio.org
        https://github.com/rstudio/rstudio/"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GIN_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWT_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUM_VER}.zip
@@ -123,9 +125,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.99.473-paths.patch \
                "${FILESDIR}"/${PN}-0.99.473-clang-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \
index 3682c5ca0fd0b773f26bb06db465f00147bb55e6..64818de5367ecef296e951e6e31af465aaa312c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -26,9 +26,11 @@ SHINYAPPS_VER=0.98.1000
 RSCONNECT_VER=0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0
 
 DESCRIPTION="IDE for the R language"
-HOMEPAGE="http://www.rstudio.org
+HOMEPAGE="
+       http://www.rstudio.org
        https://github.com/rstudio/rstudio/"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GIN_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWT_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUM_VER}.zip
@@ -123,9 +125,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.99.473-paths.patch \
                "${FILESDIR}"/${PN}-0.99.473-clang-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \
index 3682c5ca0fd0b773f26bb06db465f00147bb55e6..64818de5367ecef296e951e6e31af465aaa312c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -26,9 +26,11 @@ SHINYAPPS_VER=0.98.1000
 RSCONNECT_VER=0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0
 
 DESCRIPTION="IDE for the R language"
-HOMEPAGE="http://www.rstudio.org
+HOMEPAGE="
+       http://www.rstudio.org
        https://github.com/rstudio/rstudio/"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GIN_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWT_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUM_VER}.zip
@@ -123,9 +125,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.99.473-paths.patch \
                "${FILESDIR}"/${PN}-0.99.473-clang-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \
index 3682c5ca0fd0b773f26bb06db465f00147bb55e6..64818de5367ecef296e951e6e31af465aaa312c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -26,9 +26,11 @@ SHINYAPPS_VER=0.98.1000
 RSCONNECT_VER=0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0
 
 DESCRIPTION="IDE for the R language"
-HOMEPAGE="http://www.rstudio.org
+HOMEPAGE="
+       http://www.rstudio.org
        https://github.com/rstudio/rstudio/"
-SRC_URI="https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+       https://github.com/rstudio/rstudio/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://s3.amazonaws.com/rstudio-buildtools/gin-${GIN_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/gwt-${GWT_VER}.zip
        https://s3.amazonaws.com/rstudio-buildtools/selenium-java-${SELENIUM_VER}.zip
@@ -123,9 +125,10 @@ src_unpack() {
 src_prepare() {
        java-pkg-2_src_prepare
 
-       find . -name .gitignore -delete || die
+       egit_clean
 
-       epatch "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
+       epatch \
+               "${FILESDIR}"/${PN}-0.98.490-prefs.patch \
                "${FILESDIR}"/${PN}-0.99.473-paths.patch \
                "${FILESDIR}"/${PN}-0.99.473-clang-pandoc.patch \
                "${FILESDIR}"/${PN}-0.98.490-linker_flags.patch \