dev-cpp/libcmis: Drop alternatives eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Sep 2018 21:16:40 +0000 (23:16 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Sep 2018 22:29:12 +0000 (00:29 +0200)
Package-Manager: Portage-2.3.49, Repoman-2.3.10

dev-cpp/libcmis/libcmis-0.5.2_pre20180118.ebuild
dev-cpp/libcmis/libcmis-9999.ebuild

index 9c4546b7f5f5b991f6bfa5ed244248547c4be864..a918f64a5965f6e206788499e34c3e8b8344720e 100644 (file)
@@ -12,7 +12,7 @@ elif [[ ${PV} = *_pre* ]]; then
 else
        SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
-inherit alternatives autotools flag-o-matic
+inherit autotools flag-o-matic
 
 DESCRIPTION="C++ client library for the CMIS interface"
 HOMEPAGE="https://github.com/tdf/libcmis"
@@ -74,11 +74,3 @@ src_install() {
        default
        find "${D}" -name '*.la' -delete || die
 }
-
-pkg_postinst() {
-       alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}
-
-pkg_postrm() {
-       alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}
index 922b7a7756a6ca276d7279cc1b17796931f52016..648347ed63bc324cab09cc1deb1774c92114b549 100644 (file)
@@ -12,7 +12,7 @@ elif [[ ${PV} = *_pre* ]]; then
 else
        SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
-inherit alternatives autotools flag-o-matic
+inherit autotools flag-o-matic
 
 DESCRIPTION="C++ client library for the CMIS interface"
 HOMEPAGE="https://github.com/tdf/libcmis"
@@ -69,11 +69,3 @@ src_install() {
        default
        find "${D}" -name '*.la' -delete || die
 }
-
-pkg_postinst() {
-       alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}
-
-pkg_postrm() {
-       alternatives_auto_makesym /usr/bin/cmis-client "/usr/bin/cmis-client-[0-9].[0-9]"
-}