[arch-commits] Commit in freetype2/trunk (PKGBUILD freetype2.install)
Jan Steffens
heftig at archlinux.org
Tue Jul 5 19:19:04 UTC 2016
Date: Tuesday, July 5, 2016 @ 19:19:04
Author: heftig
Revision: 271059
2.6.4-2: Show message on install
Modified:
freetype2/trunk/PKGBUILD
freetype2/trunk/freetype2.install
-------------------+
PKGBUILD | 2 +-
freetype2.install | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-05 19:06:26 UTC (rev 271058)
+++ PKGBUILD 2016-07-05 19:19:04 UTC (rev 271059)
@@ -3,7 +3,7 @@
pkgname=freetype2
pkgver=2.6.4
-pkgrel=1
+pkgrel=2
pkgdesc="TrueType font rendering library"
arch=(i686 x86_64)
license=('GPL')
Modified: freetype2.install
===================================================================
--- freetype2.install 2016-07-05 19:06:26 UTC (rev 271058)
+++ freetype2.install 2016-07-05 19:19:04 UTC (rev 271059)
@@ -1,5 +1,9 @@
+post_install() {
+ post_upgrade $1 0
+}
+
post_upgrade() {
- if (( $(vercmp $2 2.6.4-1) < 0 )); then
+ if (( $(vercmp $2 2.6.4-2) < 0 )); then
cat <<MSG
Subpixel hinting mode can be chosen by setting the right value in
your environment, for example /etc/environment or ~/.pam_environment .
More information about the arch-commits
mailing list