[arch-commits] Commit in kdebase-workspace/kde-unstable (2 files)

Andrea Scarpino andrea at archlinux.org
Tue Jun 8 15:56:48 UTC 2010


    Date: Tuesday, June 8, 2010 @ 11:56:47
  Author: andrea
Revision: 82082

KDE 4.4.85 (beta2)

Modified:
  kdebase-workspace/kde-unstable/PKGBUILD
  kdebase-workspace/kde-unstable/kdebase-workspace.install

---------------------------+
 PKGBUILD                  |    6 +++---
 kdebase-workspace.install |    9 +++++++--
 2 files changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-08 15:56:44 UTC (rev 82081)
+++ PKGBUILD	2010-06-08 15:56:47 UTC (rev 82082)
@@ -3,7 +3,7 @@
 # Contributor: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=kdebase-workspace
-pkgver=4.4.80
+pkgver=4.4.85
 pkgrel=1
 pkgdesc="KDE Base Workspace"
 arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@
 depends=('polkit-kde' 'kdepimlibs' 'kdepim-runtime' 'kdebase-runtime' 'qimageblitz'
          'libxxf86misc' 'libxcomposite' 'lm_sensors' 'libxklavier' 'libxdamage'
 	 'xorg-utils' 'libxrandr' 'libraw1394' 'libqalculate')
-makedepends=('pkgconfig' 'cmake' 'automoc4' 'networkmanager' 'bluez' 'kdebindings-python')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'networkmanager' 'bluez' 'kdebindings-python' 'docbook-xsl')
 #             'kdebindings-ruby')
 replaces=('kdmtheme' 'kde-common' 'guidance-power-manager' 'policykit-kde' 'kdebase-kinfocenter')
 conflicts=('kde-common' 'guidance-power-manager' 'policykit-kde')
@@ -28,7 +28,7 @@
 source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
         'kdm-zsh-profile.patch' 'kdm' 'kde.pam' 'kde-np.pam' 'kscreensaver.pam'
         'fixpath.patch' 'terminate-server.patch')
-sha1sums=('a31fcf38d6779139f01cab3116940789078d62fd'
+sha1sums=('68501d3d7ee209c8e38b7dddc0f836c567fb3584'
           '8c2bdefb23a03b753b78d16944d03fa3939d2d99'
           '5db3a245201bd4a50e65aa2ef583cf5490e4f646'
           'f7b38af38549242a240f1a90ab9964ca8a366129'

Modified: kdebase-workspace.install
===================================================================
--- kdebase-workspace.install	2010-06-08 15:56:44 UTC (rev 82081)
+++ kdebase-workspace.install	2010-06-08 15:56:47 UTC (rev 82082)
@@ -1,11 +1,16 @@
 post_install() {
+	useradd -d /var -M -r -U kdm &> /dev/null
 	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
 }
 
 post_upgrade() {
-	post_install
+	getent passwd kdm >/dev/null 2>&1 || useradd -d /var -M -r -U kdm &> /dev/null
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
 }
 
 post_remove() {
-	post_install
+	if getent passwd kdm >/dev/null 2>&1; then
+	  userdel kdm
+	fi
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
 }




More information about the arch-commits mailing list