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

Pierre Schmitz pierre at archlinux.org
Wed Jul 30 22:04:48 UTC 2008


    Date: Wednesday, July 30, 2008 @ 18:04:48
  Author: pierre
Revision: 7346

upgpkg: kdelibs3 3.5.9-2
    add /opt/kde/lib to ld.so.conf on install; added missing dependency

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

------------------+
 PKGBUILD         |    6 +++---
 kdelibs3.install |   11 +++++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-30 21:28:50 UTC (rev 7345)
+++ PKGBUILD	2008-07-30 22:04:48 UTC (rev 7346)
@@ -4,16 +4,17 @@
 
 pkgname=kdelibs3
 pkgver=3.5.9
-pkgrel=1
+pkgrel=2
 pkgdesc="KDE3 Core Libraries"
 arch=('i686' 'x86_64')
 url="http://www.kde.org"
 license=('GPL' 'LGPL')
 depends=('db>=4.7' 'libxslt' 'pcre' 'libart-lgpl' 'openexr' 'alsa-lib' 'libcups'
-         'avahi>=0.6.9' 'jasper>=1.900.1' 'bzip2' 'openssl' 'libidn' 'perl'
+         'avahi>=0.6.9' 'jasper>=1.900.1' 'bzip2' 'openssl' 'libidn' 'perl' 'libxrender'
 	 'aspell' 'heimdal>=1.0.1' 'acl' 'libtiff' 'qt3>=3.3.7' 'ca-certificates')
 makedepends=('pkgconfig' 'cups' 'lua')
 options=('libtool')
+install='kdelibs3.install'
 source=("http://download.kde.org/stable/${pkgver}/src/kdelibs-${pkgver}.tar.bz2" 'kde3.profile')
 md5sums=('55e5f00874933d1a7ba7c95e369a205e' '3c49828eb8985cfb25af8e1495f7800a')
 
@@ -49,4 +50,4 @@
 	# link it to the one from ca-certificates
 	rm -f $pkgdir/opt/kde/share/apps/kssl/ca-bundle.crt
 	ln -sf /etc/ssl/certs/ca-certificates.crt $pkgdir/opt/kde/share/apps/kssl/ca-bundle.crt
-}
\ No newline at end of file
+}

Added: kdelibs3.install
===================================================================
--- kdelibs3.install	                        (rev 0)
+++ kdelibs3.install	2008-07-30 22:04:48 UTC (rev 7346)
@@ -0,0 +1,11 @@
+post_install() {
+	grep -q '/opt/kde/lib' || echo '/opt/kde/lib' >> etc/ld.so.conf
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	sed  -ie '/\/opt\/kde\/lib/d' etc/ld.so.conf
+}





More information about the arch-commits mailing list