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

Konstantin Gizdov kgizdov at archlinux.org
Wed May 26 08:24:29 UTC 2021


    Date: Wednesday, May 26, 2021 @ 08:24:28
  Author: kgizdov
Revision: 946618

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-26 08:24:22 UTC (rev 946617)
+++ PKGBUILD	2021-05-26 08:24:28 UTC (rev 946618)
@@ -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=2102.25
-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=('a64e8834f06ec9acca4a5307cb6cf35922021d4fd0ca19096f8bf6a3e2515ad3'
-            '9201a17f6c16b3e32d75d516d0e22caf649d0384a59898d2d71bb8a7687239be')
-
-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 946617, cascadia-code/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-26 08:24:28 UTC (rev 946618)
@@ -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=2105.24
+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=('4edd89afd1009e1da121792c44bec6192001f3ffe2186a9e6f554c3bb8f5fb0b'
+            'c63c24f0eccf645b0318164f4e2bc94e8fd4657e00f41b7f93b6881a0b6bc397')
+
+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