[arch-commits] Commit in fira-code/trunk (PKGBUILD)
Jiachen Yang
farseerfc at gemini.archlinux.org
Sat Dec 4 13:18:11 UTC 2021
Date: Saturday, December 4, 2021 @ 13:18:11
Author: farseerfc
Revision: 1065030
upgpkg: fira-code 6.1-1: fira-code 6.1 thanks mochaaP
Modified:
fira-code/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-04 13:17:41 UTC (rev 1065029)
+++ PKGBUILD 2021-12-04 13:18:11 UTC (rev 1065030)
@@ -5,7 +5,7 @@
pkgbase=fira-code
pkgname=('ttf-fira-code' 'woff-fira-code' 'woff2-fira-code')
-pkgver=5.2
+pkgver=6.1
pkgrel=1
pkgdesc="Monospaced font with programming ligatures"
arch=('any')
@@ -12,12 +12,12 @@
url='https://github.com/tonsky/FiraCode'
license=('custom:OFL')
depends=()
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tonsky/FiraCode/archive/${pkgver}.tar.gz")
-sha512sums=('10247bf8b72f4d44a5b5d727edeae2baee549b6654e12469ad3ab75d3926635b4b2cdfcbb2b9b4c89b28d7c5411c428c00729f94567dad3bc0dc23ff5446ce2d')
+source=("$pkgbase-$pkgver.zip::https://github.com/tonsky/FiraCode/releases/download/${pkgver}/Fira_Code_v${pkgver}.zip"
+ "LICENSE::https://raw.githubusercontent.com/tonsky/FiraCode/${pkgver}/LICENSE")
+sha512sums=('262027cb970c5c8bcf0f10e54f2e8a96ebd85d580ba300d2c5e42cc55a27f44f3e6398bb268f7017f5b6ef83527b985674296446e5af30bd25f9aa24dcc4ea6f'
+ 'bee6615aa2c8771ea9685a6de630eceb554c22920fd56379be460f461b27081de2d12e04298e4aecc76b733465730f3f3b602867abbc2df53105eb8ccf5475d2')
function _package {
- local dir="$srcdir/FiraCode-$pkgver"
- cd "$dir/distr"
local ext="${1%%-*}"
cd "$ext"
local fonts=(FiraCode*."$ext")
@@ -33,7 +33,7 @@
done
# Install LICENSE
- install -Dm644 "$dir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
for _pkgname in ${pkgname[@]}; do
More information about the arch-commits
mailing list