mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
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:
1 file changed
+8
-11
@@ -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/
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user