summarylogtreecommitdiffstats
path: root/ttf-go.install
diff options
context:
space:
mode:
authorJosh VanderLinden2016-11-16 22:57:59 -0700
committerJosh VanderLinden2016-11-16 22:57:59 -0700
commit0443f558cfcd2e1ad923785ca11bf625446b52b7 (patch)
treea1217f1b4dc611a0e10aa4744b9c66a2e9016446 /ttf-go.install
downloadaur-0443f558cfcd2e1ad923785ca11bf625446b52b7.tar.gz
Initial commit: https://blog.golang.org/go-fonts
Diffstat (limited to 'ttf-go.install')
-rw-r--r--ttf-go.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/ttf-go.install b/ttf-go.install
new file mode 100644
index 000000000000..90b42e9fd073
--- /dev/null
+++ b/ttf-go.install
@@ -0,0 +1,13 @@
+post_install() {
+ fc-cache -s > /dev/null
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}