[arch-commits] Commit in cascadia-code/repos/community-any (PKGBUILD PKGBUILD)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Sat Nov 20 23:18:56 UTC 2021


    Date: Saturday, November 20, 2021 @ 23:18:55
  Author: kgizdov
Revision: 1052910

archrelease: copy trunk to community-any

Added:
  cascadia-code/repos/community-any/PKGBUILD
    (from rev 1052909, cascadia-code/trunk/PKGBUILD)
Deleted:
  cascadia-code/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-20 23:18:49 UTC (rev 1052909)
+++ PKGBUILD	2021-11-20 23:18:55 UTC (rev 1052910)
@@ -1,44 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Jerome Leclanche <jerome at leclan.ch>
-
-pkgbase=cascadia-code
-pkgname=("ttf-${pkgbase}" "otf-${pkgbase}" "woff2-${pkgbase}")
-pkgver=2108.26
-pkgrel=1
-pkgdesc="A monospaced font by Microsoft that includes programming ligatures"
-arch=("any")
-url="https://github.com/microsoft/cascadia-code"
-license=("custom:OFL")
-source=(
-    "${pkgname}-${pkgver}-release.zip::https://github.com/microsoft/${pkgbase}/releases/download/v${pkgver}/CascadiaCode-${pkgver}.zip"
-    "${pkgname}-${pkgver}.tar.gz::https://github.com/microsoft/${pkgbase}/archive/v${pkgver}.tar.gz"
-)
-sha256sums=('ea325ea078a7f96299226497d4ed3ea3c5951c9e1a1d36da8f3b839099909479'
-            '2ee778c04d21cd3b7a9e609b4171d2f1c5d2cc287b5055bfc72c445eb810430d')
-
-function prepare() {
-    cd "${srcdir}/otf/static"
-    cp ./*.otf ../
-}
-
-function _package() {
-    cd "${srcdir}/"
-
-    local ext="${1%%-*}"
-    local installdir="${ext^^}"
-    local fonts=("${srcdir}/${ext}"/*."${ext}")
-
-    # Install fonts
-    install -d "${pkgdir}/usr/share/fonts/${installdir}"
-    local font
-    for font in "${fonts[@]}"; do
-        install -m644 "${font}" "${pkgdir}/usr/share/fonts/${installdir}"
-    done
-
-    # Install license
-    install -Dm644 "${srcdir}/${pkgbase}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-for _pkgname in ${pkgname[@]}; do
-    eval "function package_$_pkgname() { _package $_pkgname; }"
-done

Copied: cascadia-code/repos/community-any/PKGBUILD (from rev 1052909, cascadia-code/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-20 23:18:55 UTC (rev 1052910)
@@ -0,0 +1,44 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Jerome Leclanche <jerome at leclan.ch>
+
+pkgbase=cascadia-code
+pkgname=("ttf-${pkgbase}" "otf-${pkgbase}" "woff2-${pkgbase}")
+pkgver=2110.31
+pkgrel=1
+pkgdesc="A monospaced font by Microsoft that includes programming ligatures"
+arch=("any")
+url="https://github.com/microsoft/cascadia-code"
+license=("custom:OFL")
+source=(
+    "${pkgname}-${pkgver}-release.zip::https://github.com/microsoft/${pkgbase}/releases/download/v${pkgver}/CascadiaCode-${pkgver}.zip"
+    "${pkgname}-${pkgver}.tar.gz::https://github.com/microsoft/${pkgbase}/archive/v${pkgver}.tar.gz"
+)
+sha256sums=('b1a18b6b15818f5e5467f06363c963d7f373f26c41910284943076c064756fac'
+            'b204fe8f8992b687e7fc90b2a7123f2e92360d48165e56810553553642b45c01')
+
+function prepare() {
+    cd "${srcdir}/otf/static"
+    cp ./*.otf ../
+}
+
+function _package() {
+    cd "${srcdir}/"
+
+    local ext="${1%%-*}"
+    local installdir="${ext^^}"
+    local fonts=("${srcdir}/${ext}"/*."${ext}")
+
+    # Install fonts
+    install -d "${pkgdir}/usr/share/fonts/${installdir}"
+    local font
+    for font in "${fonts[@]}"; do
+        install -m644 "${font}" "${pkgdir}/usr/share/fonts/${installdir}"
+    done
+
+    # Install license
+    install -Dm644 "${srcdir}/${pkgbase}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+for _pkgname in ${pkgname[@]}; do
+    eval "function package_$_pkgname() { _package $_pkgname; }"
+done



More information about the arch-commits mailing list