app-i18n/tomoe-gtk: inherit ltprune
authorAkinori Hattori <hattya@gentoo.org>
Sat, 12 Aug 2017 14:16:48 +0000 (23:16 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Sat, 12 Aug 2017 14:21:41 +0000 (23:21 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-i18n/tomoe-gtk/tomoe-gtk-0.6.0-r4.ebuild

index 91da3cffbfdc54b0a048a162880aa88797d109e4..dde6b7083511b5e07e449eb735ecb8e92f8cff02 100644 (file)
@@ -4,7 +4,7 @@
 EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1
+inherit ltprune python-single-r1
 
 DESCRIPTION="Tomoe GTK+ interface widget library"
 HOMEPAGE="http://tomoe.sourceforge.jp/"
@@ -40,11 +40,5 @@ src_configure() {
 
 src_install() {
        default
-
-       if use python ; then
-               find "${D}$(python_get_sitedir)" \( -name "*.la" -o -name "*.a" \) -type f -delete || die
-       fi
-       if ! use static-libs ; then
-               find "${ED}" -name "*.la" -type f -delete || die
-       fi
+       prune_libtool_files --modules
 }