summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-31 10:54:57 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-31 12:13:57 +0100
commitc54389fe2c1aaa51200e558649e0d65f7e873e1c (patch)
tree78eb3bb1e63dce7a21854f9d833c79d57ca7aa1b /app-i18n/scim-uim
parentdev-python/jsonrpclib: stable on amd64, bug #642826 (diff)
downloadgentoo-c54389fe2c1aaa51200e558649e0d65f7e873e1c.tar.gz
gentoo-c54389fe2c1aaa51200e558649e0d65f7e873e1c.tar.bz2
gentoo-c54389fe2c1aaa51200e558649e0d65f7e873e1c.zip
app-i18n/scim-uim: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-i18n/scim-uim')
-rw-r--r--app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild21
1 files changed, 13 insertions, 8 deletions
diff --git a/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild
index ad0fc7d82d8a..8b9fe22e0718 100644
--- a/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild
+++ b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
-inherit eutils
+EAPI=6
DESCRIPTION="An input module for Smart Common Input Method (SCIM) which uses uim as backend"
HOMEPAGE="http://www.scim-im.org/"
@@ -13,20 +12,26 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-RDEPEND=">=app-i18n/uim-1.5.0
+RDEPEND="
+ >=app-i18n/uim-1.5.0
>=app-i18n/scim-1.4.0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
-src_prepare() {
- epatch "${FILESDIR}/${P}-gcc43.patch" \
- "${FILESDIR}/${P}-uim-1.5.patch"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-uim-1.5.patch
+)
+
+src_configure() {
+ econf --disable-static
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
+ default
- dodoc AUTHORS ChangeLog README THANKS || die
+ # plugin module, no point in .la files
+ find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {