[arch-commits] Commit in kdelibs3/trunk (PKGBUILD kdelibs3.install)
Pierre Schmitz
pierre at archlinux.org
Sun Feb 14 16:02:30 UTC 2010
Date: Sunday, February 14, 2010 @ 11:02:29
Author: pierre
Revision: 68848
upgpkg: kdelibs3 3.5.10-10
rebuild due to FS#18238
Modified:
kdelibs3/trunk/PKGBUILD
kdelibs3/trunk/kdelibs3.install
------------------+
PKGBUILD | 5 ++++-
kdelibs3.install | 5 +++--
2 files changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-14 16:00:53 UTC (rev 68847)
+++ PKGBUILD 2010-02-14 16:02:29 UTC (rev 68848)
@@ -4,7 +4,7 @@
pkgname=kdelibs3
pkgver=3.5.10
-pkgrel=9
+pkgrel=10
pkgdesc='KDE3 Core Libraries'
arch=('i686' 'x86_64')
url='http://www.kde.org'
@@ -79,4 +79,7 @@
# we don't have khelpcenter anyway
rm -rf $pkgdir/opt/kde/share/doc
+
+ install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
+ echo '/opt/kde/lib' > ${pkgdir}/etc/ld.so.conf.d/kdelibs3.conf
}
Modified: kdelibs3.install
===================================================================
--- kdelibs3.install 2010-02-14 16:00:53 UTC (rev 68847)
+++ kdelibs3.install 2010-02-14 16:02:29 UTC (rev 68848)
@@ -1,11 +1,12 @@
post_install() {
- grep -q '/opt/kde/lib' etc/ld.so.conf || echo '/opt/kde/lib' >> etc/ld.so.conf
+ post_remove
}
post_upgrade() {
- post_install
+ post_remove
}
post_remove() {
+ # this can be removed in future versions
sed -ie '/\/opt\/kde\/lib/d' etc/ld.so.conf
}
More information about the arch-commits
mailing list