diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-07-27 22:40:53 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-07-27 22:40:53 +0900 |
commit | 0c1a4c029221aac43aec4a8db1e71cfde59a4db2 (patch) | |
tree | 3d4bc9be3c9e917a8742bbd89d0f2b86073ebc04 /app-i18n/rime-data/rime-data-0.35.ebuild | |
parent | app-i18n/librime: new upstream release (diff) | |
download | gentoo-0c1a4c029221aac43aec4a8db1e71cfde59a4db2.tar.gz gentoo-0c1a4c029221aac43aec4a8db1e71cfde59a4db2.tar.bz2 gentoo-0c1a4c029221aac43aec4a8db1e71cfde59a4db2.zip |
app-i18n/rime-data: respect EPREFIX
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-i18n/rime-data/rime-data-0.35.ebuild')
-rw-r--r-- | app-i18n/rime-data/rime-data-0.35.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/app-i18n/rime-data/rime-data-0.35.ebuild b/app-i18n/rime-data/rime-data-0.35.ebuild index d047cace41e2..4290b96b3631 100644 --- a/app-i18n/rime-data/rime-data-0.35.ebuild +++ b/app-i18n/rime-data/rime-data-0.35.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -7,7 +7,7 @@ MY_PN="brise" MY_P="${MY_PN}-${PV}" DESCRIPTION="Data resources for Rime Input Method Engine" -HOMEPAGE="http://rime.im/ https://github.com/rime/brise" +HOMEPAGE="https://rime.im/ https://github.com/rime/brise" SRC_URI="https://dl.bintray.com/lotem/rime/${MY_P}.tar.gz" LICENSE="GPL-3" @@ -17,5 +17,10 @@ IUSE="" DEPEND="app-i18n/librime" RDEPEND="${DEPEND}" - S="${WORKDIR}/${MY_PN}" + +src_prepare() { + sed -i "/^[[:space:]]*PREFIX/s:/usr:${EPREFIX}/usr:" Makefile + + default +} |