diff options
author | anergy | 2015-08-28 10:26:38 +0900 |
---|---|---|
committer | anergy | 2015-08-28 10:42:43 +0900 |
commit | 9c2cb6a7882d58813b718cec8e84cf8bbf2afdf5 (patch) | |
tree | f38362208af7b370f51b0346b358b34b309a1a45 /mplus-font.install | |
download | aur-9c2cb6a7882d58813b718cec8e84cf8bbf2afdf5.tar.gz |
Initial import.
Original PKGBUILD is mplus-bitmap-fonts, which is maintained by smly.
1. "pkgname" is renamed to be consistent with other bitmap font packages.
2. "arch" is now 'any', not architecture specific.
2. "depends" has changed from 'xorg-font-utils' to 'xorg-xset'
3. "makedepend" has now 'xorg-bdftopcf'
Diffstat (limited to 'mplus-font.install')
-rw-r--r-- | mplus-font.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mplus-font.install b/mplus-font.install new file mode 100644 index 000000000000..b48997e06a5d --- /dev/null +++ b/mplus-font.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + xset fp+ /usr/share/fonts/mplus + xset fp rehash + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + xset fp- /usr/share/fonts/mplus + xset fp rehash +} |