summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro A. López-Valencia2019-09-20 06:00:08 -0500
committerPedro A. López-Valencia2019-09-20 06:00:08 -0500
commit8911990e65b4a2b07e95a166df7f735da4506a7a (patch)
treef7c46655e75202e4132c8572f7d0f5dc7753cd54
downloadaur-8911990e65b4a2b07e95a166df7f735da4506a7a.tar.gz
v2.201
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD26
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4381fd46b25
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ttf-literata
+ pkgdesc = Google's default typeface for Play Books. Truetype format, open source (OFL) distribution.
+ pkgver = 2.201
+ pkgrel = 1
+ url = https://play.google.com/store/apps/details?id=com.google.android.apps.books
+ arch = any
+ license = custom:OFL
+ depends = fontconfig
+ depends = xorg-font-utils
+ 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/raw/master/OFL.txt
+ sha256sums = b932af6bea23e1b62d2c524154001886ba3ddaafa7f81a88cb96277e2a452545
+ sha256sums = 8742963604cd89dc81437811a850018fc03b2bfad686d7422c8235967c87614e
+
+pkgname = ttf-literata
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..74506bbc389
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+OFL.txt
+*.zip
+*.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2f006e1a3ea
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Pedro A. López-Valencia <https://aur.archlinux.org/user/vorbote>
+pkgname=ttf-literata
+pkgver=2.201
+pkgrel=1
+pkgdesc="Google's default typeface for Play Books. Truetype format, open source (OFL) distribution."
+arch=('any')
+url="https://play.google.com/store/apps/details?id=com.google.android.apps.books"
+license=('custom:OFL')
+depends=('fontconfig' 'xorg-font-utils')
+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')
+
+package() {
+ cd "$srcdir"
+
+ install -dm755 "$pkgdir/usr/share/fonts/TTF/literata"
+ install -dm755 "$pkgdir/usr/share/licences/$pkgname"
+
+ install -m644 ttfs/Literata*.ttf "$pkgdir/usr/share/fonts/TTF/literata"
+ install -m644 OFL.txt "$pkgdir/usr/share/licences/$pkgname"
+}