Update ttf-fantasque-sans-git, add .install

This commit is contained in:
Tom Willemse 2014-01-26 12:57:17 +01:00
parent 76737bb3e0
commit bac16d5021
2 changed files with 16 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# Maintainer: Parantapa Bhattacharya <pb at parantapa dot net> # Maintainer: Parantapa Bhattacharya <pb at parantapa dot net>
pkgname=ttf-fantasque-sans-git pkgname=ttf-fantasque-sans-git
pkgver=20140110 pkgver=20140123
pkgrel=1 pkgrel=1
pkgdesc="A font family with a great monospaced variant for programmers." pkgdesc="A font family with a great monospaced variant for programmers."
arch=('any') arch=('any')

View file

@ -0,0 +1,15 @@
post_install() {
echo -n "Updating font cache... "
fc-cache -fs >/dev/null
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
echo "done"
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}