summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-19 20:44:20 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-19 20:53:51 +0200
commitf4ab511b21c420be1b8d48e00a5b53f1d77084f9 (patch)
tree7ceb1b7db7deaa08a08982c91ee14eae6acee4b4 /media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.ebuild
parentapp-emulation/wine-staging: Drop old (diff)
downloadgentoo-f4ab511b21c420be1b8d48e00a5b53f1d77084f9.tar.gz
gentoo-f4ab511b21c420be1b8d48e00a5b53f1d77084f9.tar.bz2
gentoo-f4ab511b21c420be1b8d48e00a5b53f1d77084f9.zip
media-fonts/ekushey-bangla-fonts: Bump to EAPI 7
Bug: https://bugs.gentoo.org/697302 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.ebuild')
-rw-r--r--media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.ebuild23
1 files changed, 7 insertions, 16 deletions
diff --git a/media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.ebuild b/media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.ebuild
index 0b2d2ee5408d..67591655647a 100644
--- a/media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.ebuild
+++ b/media-fonts/ekushey-bangla-fonts/ekushey-bangla-fonts-20070420.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
@@ -31,26 +31,17 @@ SRC_URI="mirror://sourceforge/ekushey/${P_LOHIT}.ttf
mirror://sourceforge/ekushey/${P_SOLAIMANLIPI}.ttf
mirror://sourceforge/ekushey/${P_RUPALI}.ttf"
-LICENSE="GPL-2 OFL-1.1"
+LICENSE="GPL-2+ OFL"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-DEPEND=""
-RDEPEND=""
-
-FONT_S="${WORKDIR}"
-S="${FONT_S}"
FONT_SUFFIX="ttf"
src_unpack() {
- cd "${S}"
- for DISTFILE in ${A}
- do
- [[ "${DISTFILE}" =~ ([A-Za-z]+) ]]
- local FONTNAME="${BASH_REMATCH[1]}"
- cp -a "${DISTDIR}/${DISTFILE}" "${S}/${FONTNAME}.ttf"
+ local f
+ mkdir "${S}" || die
+ for f in ${A}; do
+ cp "${DISTDIR}/${f}" "${S}/${f%%[_-]*}.ttf"
done
}
-
-DOCS=""