[arch-commits] Commit in polkit-kde/repos (3 files)
Pierre Schmitz
pierre at archlinux.org
Wed Feb 10 20:39:25 UTC 2010
Date: Wednesday, February 10, 2010 @ 15:39:25
Author: pierre
Revision: 68127
Merged revisions 68126 via svnmerge from
svn+ssh://gerolde.archlinux.org/srv/svn-packages/polkit-kde/trunk
........
r68126 | pierre | 2010-02-10 21:37:55 +0100 (Mi, 10 Feb 2010) | 1 line
fix xdg path
........
Added:
polkit-kde/repos/extra-i686/xdg-path.patch
(from rev 68126, polkit-kde/trunk/xdg-path.patch)
Modified:
polkit-kde/repos/extra-i686/ (properties)
polkit-kde/repos/extra-i686/PKGBUILD
----------------+
PKGBUILD | 14 +++++++++-----
xdg-path.patch | 13 +++++++++++++
2 files changed, 22 insertions(+), 5 deletions(-)
Property changes on: polkit-kde/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
- /polkit-kde/trunk:1-66979
+ /polkit-kde/trunk:1-68126
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2010-02-10 20:37:55 UTC (rev 68126)
+++ extra-i686/PKGBUILD 2010-02-10 20:39:25 UTC (rev 68127)
@@ -3,18 +3,22 @@
pkgname=polkit-kde
pkgver=0.95.1
-pkgrel=1
+pkgrel=2
pkgdesc='KDE PolicyKit Authentication Agent'
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
-source=("ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2")
-md5sums=('68e40d2a43335cb5876a1c8bc51c461b')
+source=("ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2"
+ 'xdg-path.patch')
+md5sums=('68e40d2a43335cb5876a1c8bc51c461b'
+ '84d4873e60c1b628bcbaaf38c7ab2f44')
build() {
- cd ${srcdir}
+ cd ${srcdir}/${pkgname}-1-${pkgver}
+ patch -p0 -i ${srcdir}/xdg-path.patch || return 1
+ cd ..
mkdir build
cd build
export XDG_CONFIG_DIRS=/etc/xdg
@@ -27,5 +31,5 @@
package() {
cd ${srcdir}/build
- make DESTDIR=$pkgdir install
+ make DESTDIR=${pkgdir} install
}
Copied: polkit-kde/repos/extra-i686/xdg-path.patch (from rev 68126, polkit-kde/trunk/xdg-path.patch)
===================================================================
--- extra-i686/xdg-path.patch (rev 0)
+++ extra-i686/xdg-path.patch 2010-02-10 20:39:25 UTC (rev 68127)
@@ -0,0 +1,13 @@
+--- agent/CMakeLists.txt 2009-12-23 12:31:29.000000000 +0100
++++ agent/CMakeLists.txt 2010-02-10 21:26:05.183779591 +0100
+@@ -18,8 +18,8 @@
+
+ install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR})
+
+-# Install .desktop file to the XDG_CONFIG_DIRS if exists, to the /etc/xdg/autostart otherwise
+-set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS})
++# Install .desktop file to the XDG_CONFIG_DIRS/autostart if exists, to the /etc/xdg/autostart otherwise
++set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS}/autostart)
+ if (DESKTOP_INSTALL_DIR)
+ else (DESKTOP_INSTALL_DIR)
+ set (DESKTOP_INSTALL_DIR /etc/xdg/autostart)
More information about the arch-commits
mailing list