summaryrefslogtreecommitdiffstats
path: root/x11/font-bitstream-speedo
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-03 12:04:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-03 12:04:19 +0000
commit1c05e9fc3e2596e912dd7b75054f0961b77bc7b4 (patch)
treea20a42f96f9db89e66f557495ab05f5ef1f92777 /x11/font-bitstream-speedo
parent627cf2171d6f035e046c0d722e1befef294ceb00 (diff)
downloadaports-1c05e9fc3e2596e912dd7b75054f0961b77bc7b4.tar.bz2
aports-1c05e9fc3e2596e912dd7b75054f0961b77bc7b4.tar.xz
x11/font-*-*: added type1, ttf, speedo and cyrillic fonts
Diffstat (limited to 'x11/font-bitstream-speedo')
-rw-r--r--x11/font-bitstream-speedo/font-bitstream-speedo.post-install8
l---------x11/font-bitstream-speedo/font-bitstream-speedo.post-upgrade1
2 files changed, 9 insertions, 0 deletions
diff --git a/x11/font-bitstream-speedo/font-bitstream-speedo.post-install b/x11/font-bitstream-speedo/font-bitstream-speedo.post-install
new file mode 100644
index 000000000..fabb00b41
--- /dev/null
+++ b/x11/font-bitstream-speedo/font-bitstream-speedo.post-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo -n "Updating font cache (TODO: implement triggers in apk)... "
+fc-cache -f > /dev/null
+mkfontscale /usr/share/fonts/Speedo
+mkfontdir /usr/share/fonts/Speedo
+echo "done."
+
diff --git a/x11/font-bitstream-speedo/font-bitstream-speedo.post-upgrade b/x11/font-bitstream-speedo/font-bitstream-speedo.post-upgrade
new file mode 120000
index 000000000..0174eb090
--- /dev/null
+++ b/x11/font-bitstream-speedo/font-bitstream-speedo.post-upgrade
@@ -0,0 +1 @@
+font-bitstream-speedo.post-install \ No newline at end of file