diff --git a/ttf-fantasque-sans-git/PKGBUILD b/ttf-fantasque-sans-git/PKGBUILD index 74e5b15..b6d57a1 100644 --- a/ttf-fantasque-sans-git/PKGBUILD +++ b/ttf-fantasque-sans-git/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Parantapa Bhattacharya pkgname=ttf-fantasque-sans-git -pkgver=20140110 +pkgver=20140123 pkgrel=1 pkgdesc="A font family with a great monospaced variant for programmers." arch=('any') diff --git a/ttf-fantasque-sans-git/ttf-fantasque-sans-git.install b/ttf-fantasque-sans-git/ttf-fantasque-sans-git.install new file mode 100644 index 0000000..1aae7e7 --- /dev/null +++ b/ttf-fantasque-sans-git/ttf-fantasque-sans-git.install @@ -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 +}