media-fonts/piazzolla: Simplified ebuild

Bug: https://bugs.gentoo.org/831375
Signed-off-by: Mårten Wadenbäck <spamfilter-1@wadenback.se>
This commit is contained in:
Mårten Wadenbäck committed 2025-03-30 03:12:46 +02:00
1 parent 720e529682
commit 87b12292cc
1 file changed
+8 -11
+8 -11
View File
@@ -13,23 +13,20 @@ SRC_URI="
https://github.com/huertatipografica/${PN}/releases/download/v${PV}/${MY_PN}SC.zip -> ${PN}-sc-${PV}.zip https://github.com/huertatipografica/${PN}/releases/download/v${PV}/${MY_PN}SC.zip -> ${PN}-sc-${PV}.zip
" "
S="${WORKDIR}"
LICENSE="OFL-1.1" LICENSE="OFL-1.1"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip" BDEPEND="app-arch/unzip"
DOCS="" FONT_S=(
S="${WORKDIR}" "${S}/${FONT_PN}/static/otf"
FONT_S="${S}/install_files" "${S}/${FONT_PN}SC/static/otf"
)
FONT_SUFFIX="otf" FONT_SUFFIX="otf"
src_unpack() { font_src_install() {
unpack ${P}.zip insinto ${FONTDIR}
unpack ${PN}-sc-${PV}.zip doins ${MY_PN}/static/otf/*.otf ${MY_PN}SC/static/otf/*.otf
mkdir install_files
mv ${MY_PN}/static/otf/* install_files/
mv ${MY_PN}SC/static/otf/* install_files/
} }