diff options
Diffstat (limited to 'extra/kdelibs3/PKGBUILD')
-rw-r--r-- | extra/kdelibs3/PKGBUILD | 51 |
1 files changed, 28 insertions, 23 deletions
diff --git a/extra/kdelibs3/PKGBUILD b/extra/kdelibs3/PKGBUILD index faa4afb94..a33b8ed25 100644 --- a/extra/kdelibs3/PKGBUILD +++ b/extra/kdelibs3/PKGBUILD @@ -1,10 +1,11 @@ -# $ Id: $ -# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# $Id: PKGBUILD 123704 2011-05-12 16:07:27Z andrea $ +# Maintainer: +# Contributor: Pierre Schmitz <pierre@archlinux.de> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=kdelibs3 pkgver=3.5.10 -pkgrel=10 +pkgrel=11 pkgdesc='KDE3 Core Libraries' arch=('i686' 'x86_64') url='http://www.kde.org' @@ -19,23 +20,26 @@ source=("ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/kdelibs-${pkgver}.tar.bz 'acinclude.patch' 'kde3.profile' 'kde4-compatibility.patch' - 'kconf_updaterc') + 'kconf_updaterc' + 'openssl.patch') md5sums=('43cd55ed15f63b5738d620ef9f9fd568' 'ca50d4515468cfda80946690c53073f3' 'a5aedcc9550809ce6672a7dddf9f5ad4' 'ab14ce2c40698e24e162284d50c6f466' 'f4e0735475b5de59d738d68a9f467b77' - '11e49bc6aca497f55610146afe217751') + '11e49bc6aca497f55610146afe217751' + '242f0e4750c019e62e285c0aad0c03b8') build() { - cd $srcdir/kdelibs-${pkgver} + cd "$srcdir"/kdelibs-${pkgver} . /etc/profile.d/qt3.sh - . $srcdir/kde3.profile + . "$srcdir"/kde3.profile - patch -p0 -i $srcdir/kde-3.5-1074156.patch || return 1 - patch -p1 -i $srcdir/acinclude.patch || return 1 - patch -p1 -i $srcdir/kde4-compatibility.patch || return 1 + patch -p0 -i "$srcdir"/kde-3.5-1074156.patch + patch -p1 -i "$srcdir"/acinclude.patch + patch -p1 -i "$srcdir"/kde4-compatibility.patch + patch -p1 -i "${srcdir}"/openssl.patch sed -iautomake -e 's|automake\*1.10\*|automake\*1.1[0-5]\*|' admin/cvs.sh make -f admin/Makefile.common cvs @@ -54,32 +58,33 @@ build() { --enable-final \ --enable-new-ldflags LDFLAGS="${LDFLAGS} -L/opt/qt/lib" \ --without-arts \ - --disable-libfam || return 1 - make || return 1 + --disable-libfam + make } package() { - cd $srcdir/kdelibs-${pkgver} + cd "$srcdir"/kdelibs-${pkgver} - make DESTDIR=$pkgdir install || return 1 + make DESTDIR="$pkgdir" install # disable broken kconf_update by default - install -D -m644 $srcdir/kconf_updaterc $pkgdir/opt/kde/share/config/kconf_updaterc + install -D -m644 "$srcdir"/kconf_updaterc \ + "$pkgdir"/opt/kde/share/config/kconf_updaterc # install KDE3 profile - install -D -m755 $srcdir/kde3.profile $pkgdir/etc/profile.d/kde3.sh + install -D -m755 "$srcdir"/kde3.profile "$pkgdir"/etc/profile.d/kde3.sh # make KDE3 styles available to Qt3 - install -d -m755 $pkgdir/opt/qt/plugins - ln -sf /opt/kde/lib/kde3/plugins/styles $pkgdir/opt/qt/plugins/styles + install -d -m755 "$pkgdir"/opt/qt/plugins + ln -sf /opt/kde/lib/kde3/plugins/styles "$pkgdir"/opt/qt/plugins/styles # cert bundle seems to be hardcoded # 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 + 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 # we don't have khelpcenter anyway - rm -rf $pkgdir/opt/kde/share/doc + 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 + install -d -m755 "${pkgdir}"/etc/ld.so.conf.d/ + echo '/opt/kde/lib' > "${pkgdir}"/etc/ld.so.conf.d/kdelibs3.conf } |