Subject: [PATCH] community/nerd-fonts: add Victor Mono

From: [email-masked]
Date: Fri, 24 Sep 2021 20:25:23 -0300

From: Nulo <[email-masked]>

---
 community/nerd-fonts/APKBUILD | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/community/nerd-fonts/APKBUILD b/community/nerd-fonts/APKBUILD
index f11e0567b0..c3e6af3e60 100644
--- a/community/nerd-fonts/APKBUILD
+++ b/community/nerd-fonts/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer:
 pkgname=nerd-fonts
 pkgver=2.1.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Iconic font aggregator, collection and patcher"
 url="https://nerdfonts.com"
 arch="noarch"
@@ -31,6 +31,7 @@ subpackages="
 	font-fira-mono-nerd:fira:noarch
 	font-monofur-nerd:monofur:noarch
 	font-inconsolata-nerd:inconsolata:noarch
+	font-victor-mono-nerd:victor:noarch
 	"
 source="
 	Hermit-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Hermit.zip
@@ -56,6 +57,7 @@ source="
 	fira-mono-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/FiraMono.zip
 	monofur-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Monofur.zip
 	inconsolata-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Inconsolata.zip
+	victor-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/VictorMono.zip
 	"
 builddir="$srcdir"
 
@@ -216,7 +218,14 @@ inconsolata() {
 	_install_font_ttf Inconsolata
 }
 
-sha512sums="caf9026646ea1756c0c3d4f5ef08b2329ce10f6bfeefd7a4c7cfba1ac16c85e08103cd05fe4ba9c34fc6f35bb1a5a8830053dc5f90f153410fec12ef134bf84a  Hermit-2.1.0.zip
+victor() {
+	depends="fontconfig"
+	pkgdesc="$pkgdesc (Victor Mono)"
+	_install_font_ttf 'Victor Mono'
+}
+
+sha512sums="
+caf9026646ea1756c0c3d4f5ef08b2329ce10f6bfeefd7a4c7cfba1ac16c85e08103cd05fe4ba9c34fc6f35bb1a5a8830053dc5f90f153410fec12ef134bf84a  Hermit-2.1.0.zip
 6fc219e954295fe4cc1a778141aa464f2b08d73def4c3428e875502d7c1cce1f2d5a4f178a83641e1e4b5d5c45eb406f11ab7858723894dd0bf4ec5e08775adf  ia-Writer-2.1.0.zip
 9189ac650b258528f51fa83d5bdd0c8f165c969d00b5a82ccdaf824684de188c8db10f92eb125591351aefcf1012cf198a07c643b3b8a3a7c2c8074e143cc926  terminus-2.1.0.zip
 f16a963cd65f4ebe23918571ffd49c1a0fca315040012d1600a3292e6a79a2c88181ddc5a252329c4edcc8a5b5bc3d08d23c8e12f36f469b2a8856345bef33ea  overpass-2.1.0.zip
@@ -238,4 +247,6 @@ f97624aa018012313d1b496629a0db42c6b7f23eb473d71791445bbb7e1662335f846a37ee90d162
 effc1a81670c37b07f17f1c756a480091c777f6074b59cd6eefd09c8d5210b529de3c41e9cedf4992aacd9fe5bb3a5b331411bfe5b2b6f0eb8680a8e852247c2  jetbrains-mono-2.1.0.zip
 7bf6bed10d044ff487cc4c0137159180dc150fbb827e87359d89a29cc0eb9e6484b40434968a4c6ba96e2d54933db826b5f2d7f421ba914decda5c2d3497803e  fira-mono-2.1.0.zip
 392df23757ceff77278dda9afb7820a8807fbbc46dd1c1b46486fc697891b8b9dcc63288b64c83187b140bf85443fe8d1bbc8d0d0497ca1be0d6aa11d99f5ed5  monofur-2.1.0.zip
-c6b3a896543fb92df8ad0f8e3aede04ed5f17a3f61bcaf8146e8c0d872cb1a985226cd7062487a95f23ab168fdd5c8f4d7edf8818571c6e7dc3b9f4a0069e34d  inconsolata-2.1.0.zip"
+c6b3a896543fb92df8ad0f8e3aede04ed5f17a3f61bcaf8146e8c0d872cb1a985226cd7062487a95f23ab168fdd5c8f4d7edf8818571c6e7dc3b9f4a0069e34d  inconsolata-2.1.0.zip
+394e823ed12fc3975d26dfcf3a3c1a0df3150b7160675c7c64d6756a67e695f6ae4b1daabbcaaac4f5abaaaa3cc71a0f3b635f93cd93b4a9801d7b32c8f3b949  victor-2.1.0.zip
+"
-- 
2.33.0