[arch-commits] Commit in xfce4-xkb-plugin/trunk (PKGBUILD xfce4-xkb-plugin.install)
Evangelos Foutras
foutrelis at archlinux.org
Tue Mar 10 18:23:19 UTC 2015
Date: Tuesday, March 10, 2015 @ 19:23:19
Author: foutrelis
Revision: 233326
upgpkg: xfce4-xkb-plugin 0.7.1-2
Add post_upgrade() message about the integration with xfce4-settings.
Added:
xfce4-xkb-plugin/trunk/xfce4-xkb-plugin.install
Modified:
xfce4-xkb-plugin/trunk/PKGBUILD
--------------------------+
PKGBUILD | 3 ++-
xfce4-xkb-plugin.install | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-10 17:55:27 UTC (rev 233325)
+++ PKGBUILD 2015-03-10 18:23:19 UTC (rev 233326)
@@ -5,7 +5,7 @@
pkgname=xfce4-xkb-plugin
pkgver=0.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="Plugin to switch keyboard layouts for the Xfce4 panel"
arch=('i686' 'x86_64')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
@@ -13,6 +13,7 @@
groups=('xfce4-goodies')
depends=('xfce4-panel' 'libxklavier' 'librsvg')
makedepends=('intltool')
+install=$pkgname.install
source=(http://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
sha256sums=('61fe2e33fe99939d5d06a682e94e40e05ef844c930ad612154090d158b2ce681')
Added: xfce4-xkb-plugin.install
===================================================================
--- xfce4-xkb-plugin.install (rev 0)
+++ xfce4-xkb-plugin.install 2015-03-10 18:23:19 UTC (rev 233326)
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if (($(vercmp $2 0.7.1-2) < 0)); then
+ echo ':: Keyboard layouts are now configured through xfce4-keyboard-settings'
+ echo ' and managed by xfsettingsd. This plugin now only acts as a layout'
+ echo ' indicator and manages per window/application layout preferences.'
+ echo
+ echo ' You will need to reconfigure the keyboard layouts on your next login.'
+ fi
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list