diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /media-fonts/khmer/khmer-5.0-r1.ebuild | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'media-fonts/khmer/khmer-5.0-r1.ebuild')
-rw-r--r-- | media-fonts/khmer/khmer-5.0-r1.ebuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/media-fonts/khmer/khmer-5.0-r1.ebuild b/media-fonts/khmer/khmer-5.0-r1.ebuild index 8ffa9836419d..7991889184d7 100644 --- a/media-fonts/khmer/khmer-5.0-r1.ebuild +++ b/media-fonts/khmer/khmer-5.0-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 inherit font @@ -12,26 +12,25 @@ SRC_URI="mirror://sourceforge/khmer/All_KhmerOS_${PV}.zip" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" -DEPEND="app-arch/unzip" -RDEPEND="" +BDEPEND="app-arch/unzip" S="${WORKDIR}/All_KhmerOS_${PV}" + FONT_S="${S}" FONT_SUFFIX="ttf" -src_unpack() { - unpack ${A} - cd "${S}" - [[ -f "KhmerOS .ttf" ]] && mv "KhmerOS .ttf" "KhmerOS.ttf" # 338057 +src_prepare() { + default + + # bug 338057 + mv KhmerOS{\ ,}.ttf || die } pkg_postinst() { font_pkg_postinst - echo + elog "To prefer using Khmer OS fonts, run:" elog elog " eselect fontconfig enable 65-khmer.conf" - echo } |