summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Swagar2017-01-09 02:11:14 -0800
committerTyler Swagar2017-01-09 02:11:14 -0800
commitcbc331fc025b23a4b787dba23f1e9ca7d95c346b (patch)
tree2f6396c4c24aed756d9364a86c7da1a358dfb48e
downloadaur-cbc331fc025b23a4b787dba23f1e9ca7d95c346b.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD18
-rw-r--r--ttf-quintessential.install15
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..6eb45445a9ca
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Mon Jan 9 09:55:32 UTC 2017
+pkgbase = ttf-quintessential
+ pkgdesc = Calligraphic typeface from Google
+ pkgver = 1
+ pkgrel = 1
+ url = https://fonts.google.com/specimen/Quintessential
+ install = ttf-quintessential.install
+ arch = any
+ license = SIL Open Font License v1.1
+ depends = fontconfig
+ depends = xorg-fonts-encodings
+ depends = xorg-font-utils
+ source = https://github.com/google/fonts/raw/master/ofl/quintessential/Quintessential-Regular.ttf
+ sha256sums = 73d192f10dbfc716214aae282afb93036f12415d16adc9d6d0e981f34d829d32
+
+pkgname = ttf-quintessential
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..4d941340f8ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Tyler Swagar <buttpickle69@shaw.ca>
+
+pkgname=ttf-quintessential
+pkgver=1
+pkgrel=1
+pkgdesc='Calligraphic typeface from Google by Brian J. Bonislawsky'
+arch=('any')
+url='https://fonts.google.com/specimen/Quintessential'
+license=('SIL Open Font License v1.1')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+install="${pkgname}.install"
+source=('https://github.com/google/fonts/raw/master/ofl/quintessential/Quintessential-Regular.ttf')
+sha256sums=('73d192f10dbfc716214aae282afb93036f12415d16adc9d6d0e981f34d829d32')
+
+package() {
+ install -dm 755 "${pkgdir}/usr/share/fonts/TTF"
+ install -m 644 *.ttf "${pkgdir}/usr/share/fonts/TTF/"
+}
diff --git a/ttf-quintessential.install b/ttf-quintessential.install
new file mode 100644
index 000000000000..43e14fbd0cff
--- /dev/null
+++ b/ttf-quintessential.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}