mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
30 lines
593 B
Bash
30 lines
593 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit font
|
|
|
|
MY_PV=$(ver_rs 1- "")
|
|
MY_P="fonts-DSEG_v${MY_PV}"
|
|
|
|
DESCRIPTION="A free font which imitate LCD Display"
|
|
HOMEPAGE="https://www.keshikan.net/fonts-e.html"
|
|
SRC_URI="
|
|
https://github.com/keshikan/DSEG/releases/download/v${PV}/${MY_P}.zip -> ${P}.zip
|
|
"
|
|
S="${WORKDIR}/${MY_P}"
|
|
LICENSE="OFL-1.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~loong ~riscv ~x86"
|
|
|
|
BDEPEND="app-arch/unzip"
|
|
|
|
FONT_S="${S}"
|
|
FONT_SUFFIX="ttf"
|
|
|
|
src_unpack() {
|
|
default
|
|
mv "${S}"/*/*."${FONT_SUFFIX}" "${S}" || die
|
|
}
|