summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail f. Shiryaev2024-03-26 15:16:22 +0100
committerMikhail f. Shiryaev2024-03-26 15:16:22 +0100
commit19e5d9984e0d455f360ee9fda5996c82a21a9215 (patch)
tree9d5036dcacf34662de83a9d443de2330679dcd8f
parent9d38a4a178cf31cd7bf7d8c3f6e950965bd9b9bf (diff)
downloadaur-19e5d9984e0d455f360ee9fda5996c82a21a9215.tar.gz
Add v2 to the package too
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e68c228dd3db..82ce1e04ca15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ttf-consolas-ligaturized
pkgdesc = Standard Consolas font with FiraCode ligatures. Versions 1 and 2 are included
pkgver = 3.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/somq/consolas-ligaturized
arch = any
license = CUSTOM
diff --git a/PKGBUILD b/PKGBUILD
index 7f93dff92f73..1228991c2319 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
fontname=consolas-ligaturized
pkgname="ttf-${fontname}"
pkgver=3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Standard Consolas font with FiraCode ligatures. Versions 1 and 2 are included'
arch=(any)
license=(CUSTOM)
@@ -14,5 +14,7 @@ package() {
mkdir -p "$pkgdir/usr/share/fonts/${fontname}"
mkdir -p "$pkgdir/usr/share/licenses/${pkgname}"
cp "${srcdir}/${fontname}-${pkgver}/"*.ttf "$pkgdir/usr/share/fonts/${fontname}"
+ cp "${srcdir}/${fontname}-${pkgver}/Consolas-FiraCode_v2/"*.ttf "$pkgdir/usr/share/fonts/${fontname}"
+ cp "${srcdir}/${fontname}-${pkgver}/Consolas-FiraCode_v3/"*.ttf "$pkgdir/usr/share/fonts/${fontname}"
cp "${srcdir}/${fontname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}"
}