mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
nerd-fonts: update to 3.0.0
This commit is contained in:
parent
a091df032a
commit
34398bd8e6
1 changed files with 4 additions and 6 deletions
|
@ -1,14 +1,15 @@
|
||||||
# Template file for 'nerd-fonts'
|
# Template file for 'nerd-fonts'
|
||||||
pkgname=nerd-fonts
|
pkgname=nerd-fonts
|
||||||
version=2.3.3
|
version=3.0.0
|
||||||
revision=2
|
revision=1
|
||||||
depends="nerd-fonts-ttf nerd-fonts-otf"
|
depends="nerd-fonts-ttf nerd-fonts-otf"
|
||||||
short_desc="Iconic font aggregator, collection and patcher"
|
short_desc="Iconic font aggregator, collection and patcher"
|
||||||
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://nerdfonts.com"
|
homepage="https://nerdfonts.com"
|
||||||
|
changelog="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/changelog.md"
|
||||||
distfiles="https://github.com/ryanoasis/nerd-fonts/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/ryanoasis/nerd-fonts/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=d51ebe538c78e7e7c24818a433a943c7699f9da38c179f91bd9319962cf48cde
|
checksum=994e953cd69e2fd114ce79af422354b14b95418191365f99e11987c55e487243
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/fonts/NerdFonts/otf
|
vmkdir usr/share/fonts/NerdFonts/otf
|
||||||
|
@ -19,9 +20,6 @@ do_install() {
|
||||||
find patched-fonts -name '*.otf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/NerdFonts/otf \;
|
find patched-fonts -name '*.otf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/NerdFonts/otf \;
|
||||||
find patched-fonts -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/NerdFonts/ttf \;
|
find patched-fonts -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/NerdFonts/ttf \;
|
||||||
|
|
||||||
# remove windows-compatible fonts
|
|
||||||
find ${DESTDIR}/usr/share/fonts/NerdFonts -name '*Windows Compatible.*tf' -delete
|
|
||||||
|
|
||||||
# install patching scripts
|
# install patching scripts
|
||||||
for sh in bin/scripts/lib/i_*.sh; do
|
for sh in bin/scripts/lib/i_*.sh; do
|
||||||
vinstall $sh 744 usr/lib/NerdFonts
|
vinstall $sh 744 usr/lib/NerdFonts
|
||||||
|
|
Loading…
Add table
Reference in a new issue