rand/media-fonts/cozette/cozette-1.13.0-r1.ebuild
2022-04-26 09:29:53 +02:00

28 lines
615 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit font
DESCRIPTION="A bitmap programming font optimized for coziness."
HOMEPAGE="https://github.com/slavfox/Cozette"
SRC_URI="https://github.com/slavfox/Cozette/releases/download/v.${PV}/CozetteFonts.zip -> ${P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 arm64"
IUSE="+scaled"
S="${WORKDIR}/CozetteFonts"
src_prepare () {
if use scaled; then
cp "${FILESDIR}/cozette-scale2-${PV}.bdf" "cozette-scale2.bdf"
fi
default
}
FONT_S="${S}"
FONT_SUFFIX="bdf"