Update ttf-fantasque-sans-git, add .install
This commit is contained in:
parent
76737bb3e0
commit
bac16d5021
2 changed files with 16 additions and 1 deletions
|
@ -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')
|
||||||
|
|
15
ttf-fantasque-sans-git/ttf-fantasque-sans-git.install
Normal file
15
ttf-fantasque-sans-git/ttf-fantasque-sans-git.install
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue