summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD36
2 files changed, 34 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d587cfc1df1..746d2b88a2e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ttf-literata
pkgdesc = Google's default typeface for Play Books. Truetype, open source (OFL) distribution.
- pkgver = 2.201
- pkgrel = 2
+ pkgver = 3.002
+ pkgrel = 1
url = https://github.com/googlefonts/literata
arch = any
license = custom:OFL
@@ -9,10 +9,14 @@ pkgbase = ttf-literata
depends = xorg-font-util
conflicts = otf-literata
replaces = otf-literata
- source = https://github.com/googlefonts/literata/releases/download/v2.201/Literata-v2.201.zip
+ source = https://github.com/googlefonts/literata/releases/download/3.002/Literata-v3.002.zip
source = https://github.com/googlefonts/literata/raw/master/OFL.txt
- sha256sums = b932af6bea23e1b62d2c524154001886ba3ddaafa7f81a88cb96277e2a452545
- sha256sums = 8742963604cd89dc81437811a850018fc03b2bfad686d7422c8235967c87614e
+ b2sums = 369759afd37f4503d9bc07eb592e963879e5dda8772c07b457f2d9308c1ae1a4411a8ed6263d358211efd49d6206004da881c9253e79d714b7aaad96520b7070
+ b2sums = 2a91a436d60192c0794f4114ef755a23f99a062b1485f96ee4196f862cd8c022079cbb2310d3406dc5059a01d6986663e7ecf2411a52d2d5425cbe07301bc2d6
pkgname = ttf-literata
+ pkgdesc = Google's default typeface for Play Books. Truetype Collections, open source (OFL) distribution.
+
+pkgname = ttf-literata-opticals
+ pkgdesc = Google's default typeface for Play Books. Truetype opticals, open source (OFL) distribution.
diff --git a/PKGBUILD b/PKGBUILD
index 96f0bfd5220..a9b25f8cec0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Pedro A. López-Valencia <https://aur.archlinux.org/user/vorbote>
-pkgname=ttf-literata
-pkgver=2.201
-pkgrel=2
+pkgname=('ttf-literata' 'ttf-literata-opticals')
+pkgbase=ttf-literata
+pkgver=3.002
+pkgrel=1
pkgdesc="Google's default typeface for Play Books. Truetype, open source (OFL) distribution."
arch=('any')
url="https://github.com/googlefonts/literata"
@@ -9,18 +10,31 @@ license=('custom:OFL')
depends=('fontconfig' 'xorg-font-util')
conflicts=('otf-literata')
replaces=('otf-literata')
-#source=("https://github.com/googlefonts/literata/releases/download/$pkgver/Literata-v$pkgver.zip")
-source=("https://github.com/googlefonts/literata/releases/download/v$pkgver/Literata-v$pkgver.zip")
-source+=("https://github.com/googlefonts/literata/raw/master/OFL.txt")
-sha256sums=('b932af6bea23e1b62d2c524154001886ba3ddaafa7f81a88cb96277e2a452545'
- '8742963604cd89dc81437811a850018fc03b2bfad686d7422c8235967c87614e')
+source=("https://github.com/googlefonts/literata/releases/download/$pkgver/Literata-v$pkgver.zip"
+ "https://github.com/googlefonts/literata/raw/master/OFL.txt")
+b2sums=('369759afd37f4503d9bc07eb592e963879e5dda8772c07b457f2d9308c1ae1a4411a8ed6263d358211efd49d6206004da881c9253e79d714b7aaad96520b7070'
+ '2a91a436d60192c0794f4114ef755a23f99a062b1485f96ee4196f862cd8c022079cbb2310d3406dc5059a01d6986663e7ecf2411a52d2d5425cbe07301bc2d6')
-package() {
+package_ttf-literata() {
+pkgname='ttf-literata'
+pkgdesc="Google's default typeface for Play Books. Truetype Collections, open source (OFL) distribution."
cd "$srcdir"
- install -dm755 "$pkgdir/usr/share/fonts/TTF/literata"
+ install -dm755 "$pkgdir/usr/share/fonts/TTF/literata-variable"
install -dm755 "$pkgdir/usr/share/licences/$pkgname"
- install -m644 ttfs/Literata*.ttf "$pkgdir/usr/share/fonts/TTF/literata"
+ install -m644 variable/Literata*.ttf "$pkgdir/usr/share/fonts/TTF/literata-variable"
+ install -m644 OFL.txt "$pkgdir/usr/share/licences/$pkgname"
+}
+
+package_ttf-literata-opticals() {
+pkgname='ttf-literata-opticals'
+pkgdesc="Google's default typeface for Play Books. Truetype opticals, open source (OFL) distribution."
+ cd "$srcdir"
+
+ install -dm755 "$pkgdir/usr/share/fonts/TTF/literata-opticals"
+ install -dm755 "$pkgdir/usr/share/licences/$pkgname"
+
+ install -m644 static/ttf/Literata*.ttf "$pkgdir/usr/share/fonts/TTF/literata-opticals"
install -m644 OFL.txt "$pkgdir/usr/share/licences/$pkgname"
}