dev-libs/libgit2: Use egit_clean to clean workdir
authorJustin Lecher <jlec@gentoo.org>
Fri, 22 Jan 2016 20:53:05 +0000 (21:53 +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/libgit2/libgit2-0.20.0-r1.ebuild
dev-libs/libgit2/libgit2-0.21.5.ebuild
dev-libs/libgit2/libgit2-0.22.3.ebuild
dev-libs/libgit2/libgit2-0.23.2-r1.ebuild
dev-libs/libgit2/libgit2-0.23.3.ebuild
dev-libs/libgit2/libgit2-0.23.4.ebuild
dev-libs/libgit2/libgit2-9999.ebuild

index 3fdf8df9d77bf63d7e7b7a589604e53cd58e6e16..655222ce6ccdb40b9b43639cec0f7f4a1607ae59 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -58,7 +58,7 @@ src_install() {
        cmake-utils_src_install
 
        if use examples ; then
-               find examples -name .gitignore -delete || die
+               egit_clean examples
                dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
index 4397ec8e00a036287f0403ecf082d050cea7a597..974af82008fa713396c3af43b5aa2853074313d2 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$
 
@@ -56,7 +56,7 @@ src_install() {
        cmake-utils_src_install
 
        if use examples ; then
-               find examples -name .gitignore -delete || die
+               egit_clean examples
                dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
index cfd605b8394164b015d48306916b25cc8f898a5d..699bee950a24c4a8495287b1ab1bb722b7c577c9 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$
 
@@ -68,7 +68,7 @@ src_install() {
        cmake-utils_src_install
 
        if use examples ; then
-               find examples -name .gitignore -delete || die
+               egit_clean examples
                dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
index ab7043ec22f7cf3d51851ffe01284bf0de66d23c..9d9e4458c63391de1eb0f08afa7b87f73e287255 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$
 
@@ -69,7 +69,7 @@ src_install() {
        cmake-utils_src_install
 
        if use examples ; then
-               find examples -name .gitignore -delete || die
+               egit_clean examples
                dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
index ab7043ec22f7cf3d51851ffe01284bf0de66d23c..9d9e4458c63391de1eb0f08afa7b87f73e287255 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$
 
@@ -69,7 +69,7 @@ src_install() {
        cmake-utils_src_install
 
        if use examples ; then
-               find examples -name .gitignore -delete || die
+               egit_clean examples
                dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
index 3825289297133eab0a2e21acbb446e392e3a773d..d16e52200f7372a79776ea61a676fc7c5035a6da 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$
 
@@ -69,7 +69,7 @@ src_install() {
        cmake-utils_src_install
 
        if use examples ; then
-               find examples -name .gitignore -delete || die
+               egit_clean examples
                dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi
index ab7043ec22f7cf3d51851ffe01284bf0de66d23c..9d9e4458c63391de1eb0f08afa7b87f73e287255 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$
 
@@ -69,7 +69,7 @@ src_install() {
        cmake-utils_src_install
 
        if use examples ; then
-               find examples -name .gitignore -delete || die
+               egit_clean examples
                dodoc -r examples
                docompress -x /usr/share/doc/${PF}/examples
        fi