[arch-commits] Commit in kdelibs3/trunk (PKGBUILD kdelibs3.install)

Pierre Schmitz pierre at archlinux.org
Fri Aug 7 14:11:33 UTC 2009


    Date: Friday, August 7, 2009 @ 10:11:33
  Author: pierre
Revision: 49396

upgpkg: kdelibs3 3.5.10-7
    don't break apps that are not build with full rpath

Modified:
  kdelibs3/trunk/PKGBUILD
  kdelibs3/trunk/kdelibs3.install

------------------+
 PKGBUILD         |    2 +-
 kdelibs3.install |   10 ++++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-07 13:36:39 UTC (rev 49395)
+++ PKGBUILD	2009-08-07 14:11:33 UTC (rev 49396)
@@ -4,7 +4,7 @@
 
 pkgname=kdelibs3
 pkgver=3.5.10
-pkgrel=6
+pkgrel=7
 pkgdesc="KDE3 Core Libraries"
 arch=('i686' 'x86_64')
 url="http://www.kde.org"

Modified: kdelibs3.install
===================================================================
--- kdelibs3.install	2009-08-07 13:36:39 UTC (rev 49395)
+++ kdelibs3.install	2009-08-07 14:11:33 UTC (rev 49396)
@@ -1,9 +1,11 @@
+post_install() {
+	grep -q '/opt/kde/lib' etc/ld.so.conf || echo '/opt/kde/lib' >> etc/ld.so.conf
+}
+
 post_upgrade() {
-	if [ "$(vercmp $2 3.5.10-6)" -lt 0 ]; then
-		sed  -ie '/\/opt\/kde\/lib/d' etc/ld.so.conf
-	fi
+	post_install
 }
 
 post_remove() {
-	post_upgrade
+	sed  -ie '/\/opt\/kde\/lib/d' etc/ld.so.conf
 }




More information about the arch-commits mailing list