Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
cascadia-code
Commits:
96c04056 by Caleb Maclennan at 2025-01-23T21:43:49+03:00
upgpkg: 2407.24-2: Note provides nerd fonts, closes #1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = cascadia-code
pkgdesc = A monospaced font by Microsoft that includes programming
ligatures
pkgver = 2407.24
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/microsoft/cascadia-code
arch = any
license = custom:OFL
=====================================
PKGBUILD
=====================================
@@ -1,10 +1,11 @@
# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Maintainer: Caleb Maclennan <[email protected]>
# Contributor: Jerome Leclanche <[email protected]>
pkgbase=cascadia-code
pkgname=("ttf-${pkgbase}" "otf-${pkgbase}" "woff2-${pkgbase}")
pkgver=2407.24
-pkgrel=1
+pkgrel=2
pkgdesc="A monospaced font by Microsoft that includes programming ligatures"
arch=("any")
url="https://github.com/microsoft/cascadia-code"
@@ -28,6 +29,8 @@ function _package() {
local installdir="${ext^^}"
local fonts=("${srcdir}/${ext}"/*."${ext}")
+ [[ $ext == ttf ]] && provides+=(ttf-font-nerd)
+
# Install fonts
install -d "${pkgdir}/usr/share/fonts/${installdir}"
local font
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cascadia-code/-/commit/96c04056cb9762cc0836fc916b4d15dae68635cb
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/cascadia-code/-/commit/96c04056cb9762cc0836fc916b4d15dae68635cb
You're receiving this email because of your account on gitlab.archlinux.org.